Package nz.ac.vuw.ecs.swen225.gp22.util
Class GameConstants
java.lang.Object
nz.ac.vuw.ecs.swen225.gp22.util.GameConstants
This class stores the constants needed for the dimensions of
 the objects within the maze, as well as the colors used and
 sizes of the window they will be displayed on.
- Author:
 - Diana
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ColorBlue background colour.static final ColorDarker blue background colour.static final ColorLighter blue background colour.static final ColorPink button colour.static final intFocus area of game.static final DimensionDimension of square game panel.static final intWidth and Height of game panel.static final ColorLight yellow colour.static final intNumber of tiles across the screen.static final intNumber of tiles in inventory.static final DimensionDimension of side panel.static final intWidth of side panel.static final ColorBrown text colour.static final intWidth and height of each tile.static final intHeight of window.static final DimensionDimension of full window.static final intWidth of window. - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
TILE_SIZE
public static final int TILE_SIZEWidth and height of each tile.- See Also:
 
 - 
NUM_GAME_TILE
public static final int NUM_GAME_TILENumber of tiles across the screen.- See Also:
 
 - 
FOCUS_AREA
public static final int FOCUS_AREAFocus area of game.- See Also:
 
 - 
NUM_INVENTORY_TILES
public static final int NUM_INVENTORY_TILESNumber of tiles in inventory.- See Also:
 
 - 
SIDEBAR_WIDTH
public static final int SIDEBAR_WIDTHWidth of side panel.- See Also:
 
 - 
WINDOW_HEIGHT
public static final int WINDOW_HEIGHTHeight of window.- See Also:
 
 - 
WINDOW_WIDTH
public static final int WINDOW_WIDTHWidth of window.- See Also:
 
 - 
GAME_WINDOW_SIZE
public static final int GAME_WINDOW_SIZEWidth and Height of game panel.- See Also:
 
 - 
WINDOW_SIZE
Dimension of full window. - 
GAME_SIZE
Dimension of square game panel. - 
SIDE_SIZE
Dimension of side panel. - 
BUTTON_COLOR
Pink button colour. - 
BG_COLOR_LIGHTER
Lighter blue background colour. - 
BG_COLOR_DARKER
Darker blue background colour. - 
BG_COLOR
Blue background colour. - 
TEXT_COLOR
Brown text colour. - 
LIGHT_YELLOW_COLOR
Light yellow colour. 
 - 
 - 
Constructor Details
- 
GameConstants
public GameConstants() 
 -