Package erogenousbeef.bigreactors.net.message

Examples of erogenousbeef.bigreactors.net.message.MachineCommandActivateMessage$Handler


  @Override
  protected void actionPerformed(GuiButton button) {
    if(button.id == 0 || button.id == 1) {
      boolean newSetting = button.id == 0;
      if(newSetting != reactor.getActive()) {
                CommonPacketHandler.INSTANCE.sendToServer(new MachineCommandActivateMessage(reactor, newSetting));
      }
    }
    else if(button.id >= 2 && button.id <= 4) {
      WasteEjectionSetting newEjectionSetting;
      switch(button.id) {
View Full Code Here


  @Override
  protected void actionPerformed(GuiButton button) {
    if(button.id == 0 || button.id == 1) {
      boolean setActive = button.id == 0;
      if(setActive != turbine.getActive()) {
                CommonPacketHandler.INSTANCE.sendToServer(new MachineCommandActivateMessage(turbine, setActive));
            }
    }
   
    if(button.id == 2 || button.id == 3) {
      int exponent = 0;
View Full Code Here

TOP

Related Classes of erogenousbeef.bigreactors.net.message.MachineCommandActivateMessage$Handler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.