Drag[en]gine Game Engine
1.21
|
Navigator Type. Defines the costs to apply during path finding for all navigation spaces with a given type number. More...
#include <deNavigatorType.h>
Public Member Functions | |
Constructors and Destructors | |
deNavigatorType () | |
Create new navigator type. More... | |
~deNavigatorType () | |
Clean up navigator type. More... | |
Management | |
int | GetType () const |
Type number. More... | |
void | SetType (int type) |
Set type. More... | |
float | GetFixCost () const |
Fix cost. More... | |
void | SetFixCost (float cost) |
Set fix cost. More... | |
float | GetCostPerMeter () const |
Retrieves cost per meter. More... | |
void | SetCostPerMeter (float costPerMeter) |
Set cost per meter. More... | |
Navigator Type. Defines the costs to apply during path finding for all navigation spaces with a given type number.
deNavigatorType::deNavigatorType | ( | ) |
Create new navigator type.
deNavigatorType::~deNavigatorType | ( | ) |
Clean up navigator type.
|
inline |
Retrieves cost per meter.
|
inline |
Fix cost.
|
inline |
Type number.
void deNavigatorType::SetCostPerMeter | ( | float | costPerMeter | ) |
Set cost per meter.
void deNavigatorType::SetFixCost | ( | float | cost | ) |
Set fix cost.
void deNavigatorType::SetType | ( | int | type | ) |
Set type.