Class EditorToggler
- java.lang.Object
-
- com.bombinggames.wurfelengine.mapeditor.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 toolvoid
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
-
-
-
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
-
-
-