Esempio n. 1
0
 public bool RetrieveIntoUnitStorage(UnitStorage unit_storage, Unit retrieve_unit)
 {
     if (!IsAccessible(unit_storage))
     {
         throw new InvalidPlayerAccessException();
     }
     return(true);
 }
Esempio n. 2
0
 public bool IsAccessible(UnitStorage ground)
 {
     return(this.ground.Key.Equals(ground));
 }