Package com.flansmod.client.gui

Examples of com.flansmod.client.gui.GuiDriveableController


  {
    if (minecraft.thePlayer == null || minecraft.theWorld == null)
      return;
   
    if(minecraft.thePlayer.ridingEntity instanceof IControllable && minecraft.currentScreen == null)
      minecraft.displayGuiScreen(new GuiDriveableController((IControllable)minecraft.thePlayer.ridingEntity));
   
    if(teamInfo != null && teamInfo.timeLeft > 0)
      teamInfo.timeLeft--;
   
    //Teams GUI lock at end of rounds
View Full Code Here


  public static boolean flipControlMode()
  {
    if (controlModeSwitchTimer > 0)
      return false;
    controlModeMouse = !controlModeMouse;
    FMLClientHandler.instance().getClient().displayGuiScreen(controlModeMouse ? new GuiDriveableController((IControllable)FMLClientHandler.instance().getClient().thePlayer.ridingEntity) : null);
    controlModeSwitchTimer = 40;
    return true;
  }
View Full Code Here

TOP

Related Classes of com.flansmod.client.gui.GuiDriveableController

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.