Labyrinth
A labyrinth game assignment
host.labyrinth.Const Class Reference

Class to hold constant values for entire application. More...

Static Package Attributes

static final int maxTileWalls = 2
 Number of maximum walls for each tile on the board. More...
 
static final int noSupply =-1
 Number to indicate the absent of supply. More...
 
static final int noOpponent =-1
 Number to indicate the absent of supply. More...
 
static final int noTileId =-1
 Number to indicate wrong tileId. More...
 
static final int EOR =-1
 Number to indicate the End Of Range. More...
 
static final int moveItems =4
 The number of items return by move() More...
 
static final int viewDistance =3
 The max distance of the Heuristic player's ability to see. More...
 
static final double opponentFactor =1.0
 
static final double supplyFactor =0.65
 

Detailed Description

Class to hold constant values for entire application.

Definition at line 21 of file Common.java.

Member Data Documentation

◆ EOR

final int host.labyrinth.Const.EOR =-1
staticpackage

Number to indicate the End Of Range.

Definition at line 26 of file Common.java.

◆ maxTileWalls

final int host.labyrinth.Const.maxTileWalls = 2
staticpackage

Number of maximum walls for each tile on the board.

Definition at line 22 of file Common.java.

◆ moveItems

final int host.labyrinth.Const.moveItems =4
staticpackage

The number of items return by move()

Definition at line 27 of file Common.java.

◆ noOpponent

final int host.labyrinth.Const.noOpponent =-1
staticpackage

Number to indicate the absent of supply.

Definition at line 24 of file Common.java.

◆ noSupply

final int host.labyrinth.Const.noSupply =-1
staticpackage

Number to indicate the absent of supply.

Definition at line 23 of file Common.java.

◆ noTileId

final int host.labyrinth.Const.noTileId =-1
staticpackage

Number to indicate wrong tileId.

Definition at line 25 of file Common.java.

◆ opponentFactor

final double host.labyrinth.Const.opponentFactor =1.0
staticpackage

Definition at line 30 of file Common.java.

◆ supplyFactor

final double host.labyrinth.Const.supplyFactor =0.65
staticpackage

Definition at line 31 of file Common.java.

◆ viewDistance

final int host.labyrinth.Const.viewDistance =3
staticpackage

The max distance of the Heuristic player's ability to see.

Definition at line 28 of file Common.java.


The documentation for this class was generated from the following file: