Main Page   Packages   Alphabetical List   Compound List   File List   Compound Members  

GameBoardFactory Class Reference

List of all members.

Detailed Description

Partial implementation of a Factory object to create GameBoard objects.


Static Public Member Functions

GameBoard test (int level, int score, int lives)
 Creates a sample board.


Static Private Member Functions

void UDLink (int x1, int y1, int x2, int y2)
 Creates a up-down link in the nodes[][] array.

void LRLink (int x1, int y1, int x2, int y2)
 Creates a left-right link in the nodes[][] array.


Static Private Attributes

GridNode nodes [][]
 2-D array of GridNode objects that represent the board


Member Function Documentation

void GameBoardFactory.LRLink int  x1,
int  y1,
int  x2,
int  y2
[static, private]
 

Creates a left-right link in the nodes[][] array.

  • Upper left is (1,1)

GameBoard GameBoardFactory.test int  level,
int  score,
int  lives
[static]
 

Creates a sample board.

void GameBoardFactory.UDLink int  x1,
int  y1,
int  x2,
int  y2
[static, private]
 

Creates a up-down link in the nodes[][] array.

  • Upper left is (1,1)


Member Data Documentation

GridNode GameBoardFactory.nodes[][] [static, private]
 

2-D array of GridNode objects that represent the board


The documentation for this class was generated from the following file:
Generated on Tue May 13 00:53:02 2003 for PACMAN by doxygen1.3