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

Application wide object to hold settings like values for the session. More...

Static Package Attributes

static int boardSize = 15
 Default board's size (if no one set it via command line) More...
 
static int supplySize = 4
 Default board's supply size (if no one set it via command line) More...
 
static int maxRounds = 100
 Default number of rounds per game (if no one set it via command line) More...
 
static boolean loopGuard = false
 When true a wall creation guard is added to prevent closed rooms inside the board. More...
 
static boolean interactive = false
 When true each round of the game requires user input. More...
 

Detailed Description

Application wide object to hold settings like values for the session.

Definition at line 43 of file Common.java.

Member Data Documentation

◆ boardSize

int host.labyrinth.Session.boardSize = 15
staticpackage

Default board's size (if no one set it via command line)

Definition at line 44 of file Common.java.

◆ interactive

boolean host.labyrinth.Session.interactive = false
staticpackage

When true each round of the game requires user input.

Definition at line 48 of file Common.java.

◆ loopGuard

boolean host.labyrinth.Session.loopGuard = false
staticpackage

When true a wall creation guard is added to prevent closed rooms inside the board.

Definition at line 47 of file Common.java.

◆ maxRounds

int host.labyrinth.Session.maxRounds = 100
staticpackage

Default number of rounds per game (if no one set it via command line)

Definition at line 46 of file Common.java.

◆ supplySize

int host.labyrinth.Session.supplySize = 4
staticpackage

Default board's supply size (if no one set it via command line)

Definition at line 45 of file Common.java.


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