gwnavruntime/channel/stringpulledbubblelist.h Source File
Go to the documentation of this file.
15 class DisplayListManager;
19 class StringPullerPersistentDisplayListIds
22 StringPullerPersistentDisplayListIds()
23 : m_displayListManager(nullptr)
29 ~StringPullerPersistentDisplayListIds() {}
31 void Initialize(DisplayListManager* displayListManager);
35 DisplayListManager* m_displayListManager;
38 BubbleArrayPersistentDisplayListIds m_bubbleArrayPersistentDisplayListIds;
43 class StringPulledBubbleListDisplayConfig
46 StringPulledBubbleListDisplayConfig() { SetDefaults(); }
51 Color m_sectorStartColor;
52 Color m_sectorEndColor;
56 BubbleArrayDisplayConfig m_bubbleArrayDisplayConfig;
57 StringPullerPersistentDisplayListIds m_persistentDisplayListIds;
62 class StringPulledEdge
69 Vec2f m_normalizedDir;
72 class StringPulledBubbleList
75 StringPulledBubbleList() {}
80 void PushBubble(
const Bubble& bubble,
KyUInt32 bubbleIndex) { m_bubbleArray.PushBack(bubble); m_bubbleIndexArray.PushBack(bubbleIndex); }
81 void Append(
const StringPulledBubbleList& other);
84 bool IsEmpty()
const {
return m_bubbleArray.IsEmpty(); }
85 KyUInt32 GetBubbleCount()
const {
return m_bubbleArray.GetCount(); }
86 const Bubble& GetBubble(
KyUInt32 bubbleIdx)
const {
return m_bubbleArray[bubbleIdx]; }
87 KyUInt32 GetBubbleIndex(
KyUInt32 bubbleIdx)
const {
return m_bubbleIndexArray[bubbleIdx]; }
88 KyUInt32 GetEdgeCount()
const {
return m_edges.GetCount(); }
89 const StringPulledEdge& GetEdge(
KyUInt32 edgeIdx)
const {
return m_edges[edgeIdx]; }
91 void SendVisualDebug(DisplayListManager* displayListManager,
const StringPulledBubbleListDisplayConfig& displayConfig,
const char* name,
const char* group,
KyUInt32 visualDebugId =
KyUInt32MAXVAL)
const;
94 BubbleArray m_bubbleArray;
95 KyArray<KyUInt32> m_bubbleIndexArray;
96 KyArray<StringPulledEdge> m_edges;
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
Navigation return code class.
Definition: types.h:108
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
#define KyUInt32MAXVAL
KyUInt32 max value
Definition: types.h:68
float KyFloat32
float
Definition: types.h:32