#include <KartItem.hh>
State management for item usage.
Definition at line 13 of file KartItem.hh.
Public Member Functions | |
void | init (size_t playerIdx) |
void | calc () |
Calculates item activation based on the controller input state. | |
void | clear () |
void | activateMushroom () |
void | useMushroom () |
Getters | |
ItemInventory & | inventory () |
Private Types | |
enum class | eFlags { Lockout = 10 , ItemButtonHold = 12 , ItemButtonActivation = 14 } |
typedef EGG::TBitFlag< u16, eFlags > | Flags |
Private Attributes | |
Flags | m_flags |
ItemInventory | m_inventory |
|
private |
Definition at line 37 of file KartItem.hh.
|
strongprivate |
Definition at line 32 of file KartItem.hh.
|
0x8079754C |
Definition at line 11 of file KartItem.cc.
|
0x8079864C |
Definition at line 67 of file KartItem.cc.
|
0x80797928 |
Calculates item activation based on the controller input state.
Definition at line 25 of file KartItem.cc.
|
0x80798848 |
Definition at line 60 of file KartItem.cc.
|
0x807976E0 |
Definition at line 19 of file KartItem.cc.
|
inlinenodiscard |
Definition at line 26 of file KartItem.hh.
|
0x807A9D3C |
Definition at line 72 of file KartItem.cc.
|
private |
Definition at line 39 of file KartItem.hh.
|
private |
Definition at line 40 of file KartItem.hh.