Share Pastebin
Guest
Public paste!

GameStatus.java

By: a guest | Mar 16th, 2010 | Syntax: Java | Size: 0.80 KB | Hits: 36 | Expires: Never
Copy text to clipboard
  1. /**
  2.  * GameStatus class of Trek 2010
  3.  * Assignment 4 - GameStatus.java
  4.  *
  5.  * The GameStatus class contains attributes to be manipulated in order
  6.  * to show the state of the game, and signal the display of certain
  7.  * messages and functionality surrounding debugging and cheating.
  8.  *
  9.  * Methods for use outside this class:
  10.  * - No methods defined, only public attributes to be modified.
  11.  *
  12.  * Class files required:
  13.  * - Trek.java
  14.  * - Galaxy.java
  15.  * - StarShip.java
  16.  * - CommandProcessor.java
  17.  * - GameStatus.java
  18.  *
  19.  * Version 1.0 - Created March 16, 2010
  20.  *
  21.  * Name: Steven Fowler
  22.  * ID: 10044302
  23.  *
  24.  *
  25.  */
  26.  
  27. public class GameStatus
  28. {
  29.         public boolean debugModeOn = false;
  30.         public boolean cheatModeOn = false;
  31.         public boolean gameWon = false;
  32.         public boolean gameLost = false;
  33. }