public static void Control(List <Door> doors, List <Neighbor> neighbors) { foreach (var door in doors) { dataDoors.Add(doorManager.Get(door)); doorManager.Update(door); } foreach (var neighbor in neighbors) { dataNeighbors.Add(neighborManager.Get(neighbor)); neighborManager.Update(neighbor); } Handle(doors); Handle(neighbors); }
private void UpdateManager() { mUIManager.Update(); mPlayerManager.Update(); mGameManager.Update(); mItemManager.Update(); mDoorManager.Update(); mAudioManager.Update(); mEnergyManager.Update(); }