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