#include <PlayerKey.h>
Public Types | |
| enum | Status { cStatus_NoInput = 1 , cStatus_NoCross , cStatus_NoShakeJump , cStatus_ForceJump = 5 , cStatus_NoJump , cStatus_Demo = 10 } |
| enum | Key { cKey_Jump = cPadIdxCommon_Jump , cKey_Left = cPadIdxCommon_Left , cKey_Right = cPadIdxCommon_Right } |
Public Member Functions | |
| PlayerKey () | |
| void | setPlayerNo (s32 player_no) |
| void | update () |
| void | updateEnd () |
| bool | triggerJump () const |
| bool | buttonUp () const |
| bool | buttonDown () const |
| bool | buttonLeft () const |
| bool | buttonRight () const |
| bool | buttonCross () const |
| bool | triggerUp () const |
| bool | triggerDown () const |
| bool | triggerLeft () const |
| bool | triggerRight () const |
| bool | triggerCross () const |
| bool | buttonDush () const |
| bool | buttonWalk (DirType *dir=nullptr) const |
| bool | buttonJump () const |
| bool | buttonCrouch () const |
| bool | triggerShakeJump () const |
| bool | triggerA () const |
| bool | triggerAttack () const |
| bool | triggerSwim () const |
| bool | triggerJumpBuf (s32 buf_frame) const |
| bool | triggerEat () const |
| bool | buttonHipAttack () const |
| void | onStatus (s32 bit) |
| void | offStatus (s32 bit) |
| void | onDemoTrigger (s32 key) |
| void | offDemoTrigger (s32 key) |
Private Attributes | |
| u8 | _0 [0x94] |
| enum PlayerKey::Status |
| enum PlayerKey::Key |
| PlayerKey::PlayerKey | ( | ) |
| void PlayerKey::setPlayerNo | ( | s32 | player_no | ) |
| void PlayerKey::update | ( | ) |
| void PlayerKey::updateEnd | ( | ) |
| bool PlayerKey::triggerJump | ( | ) | const |
| bool PlayerKey::buttonUp | ( | ) | const |
| bool PlayerKey::buttonDown | ( | ) | const |
| bool PlayerKey::buttonLeft | ( | ) | const |
| bool PlayerKey::buttonRight | ( | ) | const |
| bool PlayerKey::buttonCross | ( | ) | const |
| bool PlayerKey::triggerUp | ( | ) | const |
| bool PlayerKey::triggerDown | ( | ) | const |
| bool PlayerKey::triggerLeft | ( | ) | const |
| bool PlayerKey::triggerRight | ( | ) | const |
| bool PlayerKey::triggerCross | ( | ) | const |
| bool PlayerKey::buttonDush | ( | ) | const |
| bool PlayerKey::buttonWalk | ( | DirType * | dir = nullptr | ) | const |
| bool PlayerKey::buttonJump | ( | ) | const |
| bool PlayerKey::buttonCrouch | ( | ) | const |
| bool PlayerKey::triggerShakeJump | ( | ) | const |
| bool PlayerKey::triggerA | ( | ) | const |
| bool PlayerKey::triggerAttack | ( | ) | const |
| bool PlayerKey::triggerSwim | ( | ) | const |
| bool PlayerKey::triggerJumpBuf | ( | s32 | buf_frame | ) | const |
| bool PlayerKey::triggerEat | ( | ) | const |
| bool PlayerKey::buttonHipAttack | ( | ) | const |
| void PlayerKey::onStatus | ( | s32 | bit | ) |
| void PlayerKey::offStatus | ( | s32 | bit | ) |
| void PlayerKey::onDemoTrigger | ( | s32 | key | ) |
| void PlayerKey::offDemoTrigger | ( | s32 | key | ) |
|
private |