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