Пример #1
0
 public void SetAllAttackPoints(int playerID)
 {
     foreach (GameObject entity in entityStorage.GetPlayerEntityList(playerID))
     {
         entityStats.SetCurrAttackPoint(entity, entityStats.GetCurrMaxAttackPoint(entity));
     }
 }
Пример #2
0
 public void SetAllAttackPoints()
 {
     foreach (List <GameObject> playerEntityList in entityStorage.activePlayersEntityList)
     {
         foreach (GameObject entity in playerEntityList)
         {
             entityStats.SetCurrAttackPoint(entity, entityStats.GetCurrMaxAttackPoint(entity));
         }
     }
 }