Drag[en]gine Game Engine  1.21
deNavigatorType Class Reference

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...
 

Detailed Description

Navigator Type. Defines the costs to apply during path finding for all navigation spaces with a given type number.

Constructor & Destructor Documentation

◆ deNavigatorType()

deNavigatorType::deNavigatorType ( )

Create new navigator type.

◆ ~deNavigatorType()

deNavigatorType::~deNavigatorType ( )

Clean up navigator type.

Member Function Documentation

◆ GetCostPerMeter()

float deNavigatorType::GetCostPerMeter ( ) const
inline

Retrieves cost per meter.

◆ GetFixCost()

float deNavigatorType::GetFixCost ( ) const
inline

Fix cost.

◆ GetType()

int deNavigatorType::GetType ( ) const
inline

Type number.

◆ SetCostPerMeter()

void deNavigatorType::SetCostPerMeter ( float  costPerMeter)

Set cost per meter.

◆ SetFixCost()

void deNavigatorType::SetFixCost ( float  cost)

Set fix cost.

◆ SetType()

void deNavigatorType::SetType ( int  type)

Set type.


The documentation for this class was generated from the following file: