Class GameViewWithCamera

  • All Implemented Interfaces:
    GameManager


    public class GameViewWithCamera
    extends GameView
    A simple Controller which adds a camera.
    • Constructor Detail

      • GameViewWithCamera

        public GameViewWithCamera​()
    • Method Detail

      • init

        public void init​(Controller controller,
                         GameView oldView)
        Description copied from class: GameView
        Loades some files and set up everything when the engine is running. After this has been inactive use GameView.onEnter()
        This method is a an implementation of the Setter Injection pattern.
        Overrides:
        init in class GameView
        Parameters:
        controller - The dependent data controller used for the view. Can be null but should not.
        oldView - The view used before. Can be null.
        See Also:
        GameView.onEnter()