예제 #1
0
 public void Copy(GameObjectManager manager)
 {
     Clear();
     itemManager   = manager.Items;
     blockManager  = manager.Blocks;
     entityManager = manager.Entities;
     enemyManager  = manager.Enemies;
     doorManager   = manager.Doors;
 }
예제 #2
0
 public GameObjectManager()
 {
     itemManager   = new ItemManager();
     blockManager  = new BlockManager();
     entityManager = new EntityManager();
     enemyManager  = new EnemyManager();
     doorManager   = new DoorManager();
     loadedRoomX   = -1;
     loadedRoomY   = -1;
 }