#include <JugemUnit.hh>
Represents a single Lakitu and houses some state management members.
Definition at line 112 of file JugemUnit.hh.
Public Member Functions | |
| JugemUnit (const Kart::KartObject *kartObj) | |
| void | createSwitchRace () |
| void | init () |
| void | calc () |
Private Types | |
| enum class | State { Away = 0 , Descending = 1 , Stay = 2 , Ascending = 3 } |
Private Member Functions | |
| void | enterIdle () |
| void | enterReverse () |
| void | calcIdle () |
| void | calcReverse () |
| void | calcSwitches () |
| void | setPosFromTransform (const EGG::Matrix34f &mat) |
| EGG::Vector3f | transformLocalToWorldUpright (const EGG::Vector3f &v) const |
| void | calcCollision () |
Static Private Member Functions | |
| static EGG::Vector3f | Interpolate (f32 t, const EGG::Vector3f &v0, const EGG::Vector3f &v1) |
Private Attributes | |
| const Kart::KartObject * | m_kartObj |
| EGG::Vector3f | m_pos |
| State | m_state |
| u32 | m_ascendTimer |
| How long Lakitu has been disappearing/ascending for. | |
| JugemSwitch * | m_switchReverse |
| JugemMove * | m_move |
| JugemInterp * | m_interp |
Static Private Attributes | |
| static constexpr std::array< StateManagerEntry, 2 > | STATE_ENTRIES |
Additional Inherited Members | |
Protected Member Functions inherited from Kinoko::Field::StateManager | |
| StateManager (void *obj, const std::span< const StateManagerEntry > &entries) | |
| void | calc () |
Protected Attributes inherited from Kinoko::Field::StateManager | |
| u16 | m_currentStateId |
| s32 | m_nextStateId |
| u32 | m_currentFrame |
| std::span< u16 > | m_entryIds |
| std::span< const StateManagerEntry > | m_entries |
| void * | m_obj |
|
strongprivate |
Definition at line 131 of file JugemUnit.hh.
|
0x80721514 |
Definition at line 13 of file JugemUnit.cc.
|
0x80721D2C |
Definition at line 20 of file JugemUnit.cc.
|
0x807221C4 |
Definition at line 27 of file JugemUnit.cc.
|
private0x807232E4 |
Definition at line 151 of file JugemUnit.cc.
|
inlineprivate0x807234A4 |
Definition at line 147 of file JugemUnit.hh.
|
private0x80724880 |
Definition at line 53 of file JugemUnit.cc.
|
inlineprivate0x80722ED8 |
Definition at line 156 of file JugemUnit.hh.
|
inline0x80721EC0 |
Definition at line 118 of file JugemUnit.hh.
|
inlineprivate0x80723458 |
Definition at line 139 of file JugemUnit.hh.
|
private0x80724794 |
Definition at line 40 of file JugemUnit.cc.
|
inline0x80722100 |
Definition at line 123 of file JugemUnit.hh.
|
inlinestaticnodiscardprivate |
Definition at line 179 of file JugemUnit.hh.
|
inlineprivate0x80722F6C |
Definition at line 163 of file JugemUnit.hh.
|
nodiscardprivate0x807230D4 |
Definition at line 122 of file JugemUnit.cc.
|
private |
How long Lakitu has been disappearing/ascending for.
Definition at line 174 of file JugemUnit.hh.
|
private |
Definition at line 177 of file JugemUnit.hh.
|
private |
Definition at line 171 of file JugemUnit.hh.
|
private |
Definition at line 176 of file JugemUnit.hh.
|
private |
Definition at line 172 of file JugemUnit.hh.
|
private |
Definition at line 173 of file JugemUnit.hh.
|
private |
Definition at line 175 of file JugemUnit.hh.
|
staticconstexprprivate |
Definition at line 184 of file JugemUnit.hh.