Package pacManReloaded.server
Class GameState
- java.lang.Object
-
- pacManReloaded.server.GameState
-
public class GameState extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description GameStatus
gameStatus
int
scoreGhost
int
scorePacMan
int
superPower
-
Constructor Summary
Constructors Constructor Description GameState(int scorePacMan, int scoreGhost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GameStatus
getGameStatus()
"getter" for the curretn game statusvoid
setGameStatus(GameStatus gameStatus)
"setter" for the game status
-
-
-
Field Detail
-
scorePacMan
public int scorePacMan
-
scoreGhost
public int scoreGhost
-
superPower
public int superPower
-
gameStatus
public GameStatus gameStatus
-
-
Method Detail
-
getGameStatus
public GameStatus getGameStatus()
"getter" for the curretn game status- Returns:
- curretn game status
-
setGameStatus
public void setGameStatus(GameStatus gameStatus)
"setter" for the game status- Parameters:
gameStatus
- the new game status
-
-