#include <MemData.h>
Inherits Sprite.

Public Member Functions | |
| MemData (int type, int color, Point point) | |
| int | getType () |
| Returns the type. | |
| int | getColor () |
| Returns the color. | |
| void | setColor (int color) |
| Sets the color. | |
| void | setLocation (Point loc) |
| Sets the location. | |
| void | setType (int type) |
| Sets the type. | |
| void | draw (BITMAP *canvas, Point offset) |
| The basic draw() function. | |
Protected Member Functions | |
| void | setSprite () |
Protected Attributes | |
| int | dataType |
| The data type. | |
| int | dataColor |
| The color. Red belongs to Stark, blue belongs to Alice. | |
| MemData::MemData | ( | int | type, | |
| int | color, | |||
| Point | point | |||
| ) |
| void MemData::draw | ( | BITMAP * | canvas, | |
| Point | offset | |||
| ) | [virtual] |
| int MemData::getColor | ( | ) |
Returns the color.
| int MemData::getType | ( | ) |
| void MemData::setColor | ( | int | color | ) |
Sets the color.
| void MemData::setLocation | ( | Point | loc | ) |
Sets the location.
| void MemData::setSprite | ( | ) | [protected] |
| void MemData::setType | ( | int | type | ) |
Sets the type.
int MemData::dataColor [protected] |
The color. Red belongs to Stark, blue belongs to Alice.
int MemData::dataType [protected] |
The data type.
1.5.7.1