MemBoard Class Reference
[Memory matching minigame]

#include <MemBoard.h>

Inherits Layer.

Collaboration diagram for MemBoard:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MemBoard ()
int getSize ()
 Returns the size of the board.
void setSize (int bSize)
 Sets the size of the board.
bool hasRegister (int row, int col)
 Determines if the board has a register at that value.
void clearBoard ()
 Clears the board.
void setBoardLayout (int diff, int stage)
void printBoardLayout ()

Protected Attributes

int boardSize
bool registers [4][12]


Detailed Description

This is the board which holds the registers in the MemMatching game.

Constructor & Destructor Documentation

MemBoard::MemBoard (  ) 


Member Function Documentation

void MemBoard::clearBoard (  ) 

Clears the board.

int MemBoard::getSize (  ) 

Returns the size of the board.

bool MemBoard::hasRegister ( int  row,
int  col 
)

Determines if the board has a register at that value.

void MemBoard::printBoardLayout (  ) 

void MemBoard::setBoardLayout ( int  diff,
int  stage 
)

void MemBoard::setSize ( int  bSize  ) 

Sets the size of the board.


Member Data Documentation

int MemBoard::boardSize [protected]

bool MemBoard::registers[4][12] [protected]


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

Generated on Mon Mar 16 14:33:13 2009 for LearningGaming by  doxygen 1.5.7.1