Exemple #1
0
 public InfoFarm()
 {
     FarmState = new FarmState[GameConstants.PlayFarmCount];
     FarmState[0] = new FarmState(0, 0);
     for (int i = 1; i < FarmState.Length; i++)
     {
         FarmState[i] = new FarmState(-1, 0);
     }
 }
Exemple #2
0
 public void SetFarmState(int id, FarmState state)
 {
     FarmState[id] = state;
 }