public class GameController
extends java.lang.Object
implements java.awt.event.ActionListener
Constructor and Description |
---|
GameController(LevelModel levelModel,
AudioLoadHelper audioLoadHelper,
NavigationBetweenViewController navigationBetweenViewController)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent event)
Handles the 'action performed' event
|
AudioLoadHelper |
getAudioLoadHelper()
Gets the audio load helper instance
|
GameView |
getGameView()
Return the game view
|
void |
setGameView(GameView gameView)
Set the gameView
|
public GameController(LevelModel levelModel, AudioLoadHelper audioLoadHelper, NavigationBetweenViewController navigationBetweenViewController)
levelModel
- Level modelnavigationBetweenViewController
- public void actionPerformed(java.awt.event.ActionEvent event)
actionPerformed
in interface java.awt.event.ActionListener
event
- Action eventpublic AudioLoadHelper getAudioLoadHelper()
public GameView getGameView()
public void setGameView(GameView gameView)
gameView
-