コード例 #1
0
 public BattleState NewBattle(List<int> entities)
 {
     BattleState battle = new BattleState(entities);
     foreach (int entity in entities)
     {
         battles.Add(entity, battle);
     }
     return battle;
 }
コード例 #2
0
 public void AddBattlePlayer(int playerId, BattleState battle)
 {
     battles.Add(playerId, battle);
 }