#include <buildingunit.h>
Public Member Functions | |
BuildingUnit (const char *id) | |
Protected Member Functions | |
virtual bool | SetModel (const string &model_id, byte_t num_id) |
virtual bool | ActivateModel (ModelType model) |
virtual SelectionRenderer * | GetSelectionRenderer () |
Protected Attributes | |
byte_t | models [MODEL_COUNT] |
BuildingUnit::BuildingUnit | ( | const char * | id | ) |
Constructor.
bool BuildingUnit::SetModel | ( | const string & | model_id, | |
byte_t | num_id | |||
) | [protected, virtual] |
Reimplemented from Unit.
SelectionRenderer * BuildingUnit::GetSelectionRenderer | ( | ) | [protected, virtual] |
Reimplemented from Unit.
byte_t BuildingUnit::models[MODEL_COUNT] [protected] |