Esempio n. 1
0
 public void SetAllMovementPoints(int playerID)
 {
     foreach (GameObject entity in entityStorage.GetPlayerEntityList(playerID))
     {
         entityStats.SetCurrMovementPoint(entity, entityStats.GetCurrMaxMovementPoint(entity));
     }
 }
Esempio n. 2
0
 public void SetAllMovementPoints()
 {
     foreach (List <GameObject> playerEntityList in entityStorage.activePlayersEntityList)
     {
         foreach (GameObject entity in playerEntityList)
         {
             entityStats.SetCurrMovementPoint(entity, entityStats.GetCurrMaxMovementPoint(entity));
         }
     }
 }
Esempio n. 3
0
 //find movement points
 void GetMovementInfo(GameObject attacker)
 {
     attackerMovepoint     = entityStats.GetCurrMaxMovementPoint(attacker);
     attackerCurrMovepoint = entityStats.GetCurrMovementPoint(attacker);
 }
Esempio n. 4
0
 void GetAIInfo(GameObject eEntity)
 {
     aicurrattpoint  = entityStats.GetCurrAttackPoint(eEntity);
     aimovepoint     = entityStats.GetCurrMaxMovementPoint(eEntity);
     aicurrmovepoint = entityStats.GetCurrMovementPoint(eEntity);
 }