#include <RobotBox.h>
Inherits Sprite.

Public Member Functions | |
| RobotBox (int type, Point place) | |
| int | getType () |
| Returns the type of the box (Action, Material, Color, Shape, or Part). | |
| void | setType (int type) |
| Sets the type of the box. | |
| void | draw (BITMAP *canvas, Point offset) |
| The basic draw() function. | |
Protected Member Functions | |
| void | setSprite () |
Protected Attributes | |
| int | boxType |
| RobotBox::RobotBox | ( | int | type, | |
| Point | place | |||
| ) |
| void RobotBox::draw | ( | BITMAP * | canvas, | |
| Point | offset | |||
| ) | [virtual] |
| int RobotBox::getType | ( | ) |
| void RobotBox::setSprite | ( | ) | [protected] |
| void RobotBox::setType | ( | int | type | ) |
Sets the type of the box.
int RobotBox::boxType [protected] |
1.5.7.1