private static void OnRefillButtonPressed(MyGasTank tank) { if (tank.IsWorking) { tank.SyncObject.SendRefillRequest(); } }
public MySyncOxygenTank(MyGasTank tank) : base(tank) { m_tank = tank; }
private static void OnRefillButtonPressed(MyGasTank tank) { if (tank.IsWorking) tank.SendRefillRequest(); }