A reimplementation of Mario Kart Wii's physics engine in C++
Loading...
Searching...
No Matches
Field::StateManager< ObjectChoropu > Class Reference

Description

Definition at line 18 of file ObjectChoropu.hh.

Inheritance diagram for Field::StateManager< ObjectChoropu >:

Public Member Functions

 StateManager (ObjectChoropu *obj)
 
- Public Member Functions inherited from Field::StateManagerBase< ObjectChoropu >

Static Private Attributes

static const std::array< StateManagerEntry< ObjectChoropu >, 5 > STATE_ENTRIES
 

Additional Inherited Members

- Protected Attributes inherited from Field::StateManagerBase< ObjectChoropu >
u16 m_currentStateId
 
s32 m_nextStateId
 
u32 m_currentFrame
 
std::span< u16m_entryIds
 
std::span< const StateManagerEntry< ObjectChoropu > > m_entries
 
const ObjectChoropum_obj
 

Constructor & Destructor Documentation

◆ StateManager()

Field::StateManager< ObjectChoropu >::StateManager ( ObjectChoropu * obj)

Definition at line 320 of file ObjectChoropu.cc.

◆ ~StateManager()

Definition at line 337 of file ObjectChoropu.cc.

Member Data Documentation

◆ STATE_ENTRIES

const std::array< StateManagerEntry< ObjectChoropu >, 5 > Field::StateManager< ObjectChoropu >::STATE_ENTRIES
staticprivate
Initial value:
= {
{
{0, &ObjectChoropu::enterDigging, &ObjectChoropu::calcDigging},
{1, &ObjectChoropu::enterPeeking, &ObjectChoropu::calcPeeking},
{2, &ObjectChoropu::enterStateStub, &ObjectChoropu::calcStateStub},
{3, &ObjectChoropu::enterJumping, &ObjectChoropu::calcJumping},
{4, &ObjectChoropu::enterStateStub, &ObjectChoropu::calcStateStub},
}}

Definition at line 24 of file ObjectChoropu.hh.