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 status
    `void` | `setGameStatus​(GameStatus gameStatus)` | "setter" for the game status

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### scorePacMan

          public int scorePacMan

    - #### scoreGhost

          public int scoreGhost

    - #### superPower

          public int superPower

    - #### gameStatus

          public GameStatus gameStatus

  - ### Constructor Detail

    - #### GameState

          public GameState​(int scorePacMan,
                           int scoreGhost)

  - ### 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