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