MemDisplay Class Reference
[Memory matching minigame]

#include <MemDisplay.h>

Inherits Layer.

Collaboration diagram for MemDisplay:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MemDisplay ()
void setMap (int stage)
 Sets the map depending on the stage of the game.
void setSections (int diffLevel)
 Sets how many sections need to be found depending on difficulty level.
void addSection (int xLoc, int yLoc)
 Adds a found section to the map.
void removeSections ()
 Clears the map.

Protected Attributes

SpriteblueprintSections [2][3]
 The array of blue print sections.
MemDisplayMapmap


Detailed Description

This displays the blueprint sections which have been found.

Constructor & Destructor Documentation

MemDisplay::MemDisplay (  ) 


Member Function Documentation

void MemDisplay::addSection ( int  xLoc,
int  yLoc 
)

Adds a found section to the map.

void MemDisplay::removeSections (  ) 

Clears the map.

void MemDisplay::setMap ( int  stage  ) 

Sets the map depending on the stage of the game.

void MemDisplay::setSections ( int  diffLevel  ) 

Sets how many sections need to be found depending on difficulty level.


Member Data Documentation

The array of blue print sections.


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