Class EditorToggler



  • public class EditorToggler
    extends java.lang.Object
    Shows buttons to enter and leave the editor.
    • Constructor Summary

      Constructors 
      Constructor Description
      EditorToggler​()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dispose​()
      disposes the dev tool
      void setGameView​(GameView view)
      Set the gameView which are used for the current game.
      void setVisible​(boolean visible)  
      void update​(EngineView view, float dt)
      Adds the buttons to the stage if missing
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EditorToggler

        public EditorToggler​()
    • Method Detail

      • setGameView

        public void setGameView​(GameView view)
        Set the gameView which are used for the current game.
        Parameters:
        view - the gameView used for play-mode
      • update

        public void update​(EngineView view,
                           float dt)
        Adds the buttons to the stage if missing
        Parameters:
        view - The gameView which renders the buttons.
        dt -
      • dispose

        public void dispose​()
        disposes the dev tool
      • setVisible

        public void setVisible​(boolean visible)
        Parameters:
        visible -