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