Class Controller


  • public class Controller
    extends Object
    Since:
    0.2.0
    Version:
    1.1.0
    Author:
    Andrew SASSOYE
    • Constructor Detail

      • Controller

        public Controller​(Model game,
                          InterfaceView view)
        Controller constructor
        Parameters:
        game - Model
        view - View
    • Method Detail

      • startGame

        public void startGame()
        Start the game
      • startGame

        public void startGame​(int nLevel)
        Start the game
        Parameters:
        nLevel - number of Level
        Since:
        1.1.0