public void DungeonTransition() { // Called when the player has completed a layer of a dungeon // Examples: reaching the dungeon exit; using an item UpdateDungeonValues(); InitiateNewLocation(); GenerateItemList(); RemoveAllPassives(); EnemyNPCs.Clear(); EnemyPosX.Clear(); EnemyPosY.Clear(); Gamestate.TimeSinceMerchantSpawn = Gamestate.TimeSinceMerchantSpawn + 1; CreateListsOfNPCs(); Gamestate.Location = Location.Name; }
public void RemoveEnemyFromList(Enemy e) { EnemyNPCs.Remove(e); }