Isle
Loading...
Searching...
No Matches
SkeletonKickPhase Struct Reference

[AI] Represents a phase of the skeleton kick animation/action, delimiting animation intervals along a boundary. More...

#include <legoracers.h>

Collaboration diagram for SkeletonKickPhase:

Public Attributes

EdgeReferencem_edgeRef
 [AI] Pointer to the EdgeReference describing which boundary this phase is associated with. More...
 
float m_lower
 [AI] Lower normalized bound of animation phase where this skeleton kick is applicable. (Fraction, e.g., 0.1) More...
 
float m_upper
 [AI] Upper normalized bound of animation phase where this skeleton kick is applicable. (Fraction, e.g., 0.2) More...
 
MxU8 m_userState
 [AI] State to switch to if currently within this phase. LEGORACECAR_KICK1 or LEGORACECAR_KICK2. More...
 

Detailed Description

[AI] Represents a phase of the skeleton kick animation/action, delimiting animation intervals along a boundary.

[AI] Used in LegoRaceCar logic to determine when to switch user state based on animation progress.

Definition at line 48 of file legoracers.h.

Member Data Documentation

◆ m_edgeRef

EdgeReference* SkeletonKickPhase::m_edgeRef

[AI] Pointer to the EdgeReference describing which boundary this phase is associated with.

Definition at line 49 of file legoracers.h.

◆ m_lower

float SkeletonKickPhase::m_lower

[AI] Lower normalized bound of animation phase where this skeleton kick is applicable. (Fraction, e.g., 0.1)

Definition at line 50 of file legoracers.h.

◆ m_upper

float SkeletonKickPhase::m_upper

[AI] Upper normalized bound of animation phase where this skeleton kick is applicable. (Fraction, e.g., 0.2)

Definition at line 51 of file legoracers.h.

◆ m_userState

MxU8 SkeletonKickPhase::m_userState

[AI] State to switch to if currently within this phase. LEGORACECAR_KICK1 or LEGORACECAR_KICK2.

Definition at line 52 of file legoracers.h.


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