MemDisplayMap Class Reference
[Memory matching minigame]

#include <MemDisplayMap.h>

Inherits Sprite.

Collaboration diagram for MemDisplayMap:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 MemDisplayMap (int type, Point point)
int getType ()
void setType (int type)
void draw (BITMAP *canvas, Point offset)
 The basic draw() function.

Protected Member Functions

void setSprite ()

Protected Attributes

int memType


Detailed Description


Constructor & Destructor Documentation

MemDisplayMap::MemDisplayMap ( int  type,
Point  point 
)


Member Function Documentation

void MemDisplayMap::draw ( BITMAP *  canvas,
Point  offset 
) [virtual]

The basic draw() function.

This is literally

draw_sprite(canvas, sprite, (location + offset));

although the position has to be split back into x and y components.

Reimplemented from Sprite.

int MemDisplayMap::getType (  ) 

Reimplemented from Sprite.

void MemDisplayMap::setSprite (  )  [protected]

void MemDisplayMap::setType ( int  type  ) 


Member Data Documentation

int MemDisplayMap::memType [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