public BattleState NewBattle(List<int> entities) { BattleState battle = new BattleState(entities); foreach (int entity in entities) { battles.Add(entity, battle); } return battle; }
public void AddBattlePlayer(int playerId, BattleState battle) { battles.Add(playerId, battle); }