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