public bool LoadFuel(Fuel fuel) { if (!(fuel is Dilithium)) { return(false); } tank = fuel as Dilithium; return(true); }
public bool LoadFuel(Fuel fuel) { if (!(fuel is Dilithium)) return false; tank = fuel as Dilithium; return true; }