summaryrefslogtreecommitdiff
path: root/engine/Components/World.go
diff options
context:
space:
mode:
authorPhyscik <mynameisgennadiy@vk.com>2026-01-29 21:48:23 +0500
committerPhyscik <mynameisgennadiy@vk.com>2026-01-29 21:48:23 +0500
commit45b7d0ce612921729d925a7111e4d1aeba3ef849 (patch)
treee8abfd366e046c9b7205cb5452dcd0615dc75c08 /engine/Components/World.go
parent9c10e3ab194115f50f0d67044ef34d386be7fa9a (diff)
GUI layout init
Diffstat (limited to 'engine/Components/World.go')
-rw-r--r--engine/Components/World.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/Components/World.go b/engine/Components/World.go
index 26c1a83..c7a96df 100644
--- a/engine/Components/World.go
+++ b/engine/Components/World.go
@@ -7,7 +7,7 @@ import (
// The scene implimetation that represents one playable scene
type World struct {
- Manager coreobjects.SceneManager
+ Manager *coreobjects.SceneManager
Name string
Floor []FloorTile
StaticObjects []coreobjects.GameObject
@@ -24,7 +24,7 @@ type World struct {
staticColliders []*coreobjects.Collider
}
-func (base *World) Create(manager coreobjects.SceneManager) {
+func (base *World) Create(manager *coreobjects.SceneManager) {
base.Manager = manager
base.Player.Init(manager)
for _, v := range base.StaticObjects {