示例#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;
 }