gwnavgamekit/gamekitsmartobjectcosttable.h Source File
Go to the documentation of this file.
8 #ifndef Navigation_GameKitSmartObject_H
9 #define Navigation_GameKitSmartObject_H
33 bool m_entranceIsAtBotProgressOnPath;
35 bool m_exitAtTheEndOfPath;
40 class GameKitSmartObjectCostTable :
public RefCountBase<GameKitSmartObjectCostTable, MemStat_GameKit>
43 GameKitSmartObjectCostTable();
44 ~GameKitSmartObjectCostTable();
48 void SetSmartObjectCostMultiplier(
KyUInt32 smartObjectID,
KyFloat32 costMultiplier);
49 void UnsetSmartObject(
KyUInt32 smartObjectID);
52 void AllowSmartObject(
KyUInt32 smartObjectID);
55 void ForbidSmartObject(
KyUInt32 smartObjectID);
58 bool IsSmartObjectRegistered(
KyUInt32 smartObjectID);
64 bool CanTraverseSmartObject(
KyUInt32 smartObjectID,
KyFloat32* costMultiplier)
const;
67 Hash<KyUInt32, KyFloat32> m_smartObjectsHash;
This class is the world element that represent an active character in Gameware Navigation.
Definition: bot.h:150
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
Define an interpretation of NavTag specific to GameKit.
Definition: gamekitnavtag.h:24
Definition: gamekitcrowddispersion.h:20
Defines an interval in the path of a bot where there is a smartobject.
Definition: gamekitsmartobjectcosttable.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
float KyFloat32
Type used internally to represent a 32-bit floating-point number.
Definition: types.h:43
This class defines a three-dimensional vector whose coordinates are stored using floating-point numbe...
Definition: vec3f.h:23