예제 #1
0
 public bool LoadFuel(Fuel fuel)
 {
     if (!(fuel is Dilithium))
     {
         return(false);
     }
     tank = fuel as Dilithium;
     return(true);
 }
예제 #2
0
 public bool LoadFuel(Fuel fuel)
 {
   if (!(fuel is Dilithium))
     return false;
   tank = fuel as Dilithium;
   return true;
 }