#include <RobotCommand.h>
Inherits Sprite.

Public Member Functions | |
| RobotCommand (int type, int value, Point point) | |
| int | getType () |
| Returns the command type. | |
| int | getValue () |
| Returns the command value. | |
| void | setType (int type) |
| Sets the command type. | |
| void | setValue (int value) |
| Sets the command value. | |
| void | draw (BITMAP *canvas, Point offset) |
| The basic draw() function. | |
Protected Member Functions | |
| void | setSprite () |
Protected Attributes | |
| int | commandType |
| The command type. | |
| int | commandValue |
| The command value. | |
| RobotCommand::RobotCommand | ( | int | type, | |
| int | value, | |||
| Point | point | |||
| ) |
| void RobotCommand::draw | ( | BITMAP * | canvas, | |
| Point | offset | |||
| ) | [virtual] |
| int RobotCommand::getType | ( | ) |
| int RobotCommand::getValue | ( | ) |
Returns the command value.
| void RobotCommand::setSprite | ( | ) | [protected] |
| void RobotCommand::setType | ( | int | type | ) |
Sets the command type.
| void RobotCommand::setValue | ( | int | value | ) |
Sets the command value.
int RobotCommand::commandType [protected] |
The command type.
int RobotCommand::commandValue [protected] |
The command value.
1.5.7.1