gwnavruntime/channel/diskcangoinchannel.h Source File
Go to the documentation of this file.
7 #ifndef Navigation_DiskCanGoInChannel_H
8 #define Navigation_DiskCanGoInChannel_H
16 class ChannelSectionPtr;
22 DiskCanGoInChannel_NotInitialised,
23 DiskCanGoInChannel_NotProcessed,
35 class DiskCanGoInChannel
40 void Initialize(
const Vec2f& startPos2f,
const Channel* channel,
KyUInt32 startSectionIdx,
const Vec2f& destPos2f);
42 void InitSymmetricRadius(
KyFloat32 radius);
46 void SetDestinationSectionIdx(
KyUInt32 destSectionIdx);
51 bool IsProperlyInitializedFromRayCast();
52 bool IsProperlyInitializedDestSectionProvided();
55 const Channel* m_channel;
A collision is detected with Channel borders.
Definition: diskcangoinchannel.h:31
The start section index is not valid (it is greater than the channel section count).
Definition: diskcangoinchannel.h:27
The Channel is not valid (it has less than 2 Gates and thus no section).
Definition: diskcangoinchannel.h:26
The start and end positions are both inside the Channel and all Gates in-between are correctly crosse...
Definition: diskcangoinchannel.h:24
DiskCanGoInChannelResult
Definition: diskcangoinchannel.h:20
The start position is inside the Channel and all Gates up to the Channel end one are correctly crosse...
Definition: diskcangoinchannel.h:28
The start position is outside the start section.
Definition: diskcangoinchannel.h:30
Definition: gamekitcrowddispersion.h:20
The start position is inside the Channel and all Gates up to the Channel start one are correctly cros...
Definition: diskcangoinchannel.h:29
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