GameSpot Class Reference
[Metagame]

#include <GameSpot.h>

Inherits Graphic.

Collaboration diagram for GameSpot:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GameSpot (MiniGame game, int infoIndex, Point position, int prevAccessKey, int nextAccessKey)
virtual ~GameSpot ()
MiniGame getGame ()
int getIndex ()
void setState (int state)
void draw (BITMAP *canvas, Point offset)
 This is the main reason for this class.
int getNextAccessKey ()
int getPrevAccessKey ()

Static Protected Member Functions

static GraphicminigameRepresentation (int minigame, bool completed)

Protected Attributes

MiniGame game
int infoIndex
int nextAccessKey
int prevAccessKey
BITMAP * sprite
GraphicmapIcon


Constructor & Destructor Documentation

GameSpot::GameSpot ( MiniGame  game,
int  infoIndex,
Point  position,
int  prevAccessKey,
int  nextAccessKey 
)

GameSpot::~GameSpot (  )  [virtual]


Member Function Documentation

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

This is the main reason for this class.

Implements Graphic.

MiniGame GameSpot::getGame (  )  [inline]

int GameSpot::getIndex (  ) 

int GameSpot::getNextAccessKey (  )  [inline]

int GameSpot::getPrevAccessKey (  )  [inline]

Graphic * GameSpot::minigameRepresentation ( int  minigame,
bool  completed 
) [static, protected]

void GameSpot::setState ( int  state  ) 


Member Data Documentation

MiniGame GameSpot::game [protected]

int GameSpot::infoIndex [protected]

Graphic* GameSpot::mapIcon [protected]

int GameSpot::nextAccessKey [protected]

int GameSpot::prevAccessKey [protected]

BITMAP* GameSpot::sprite [protected]


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

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