MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / pushButton

Method pushButton

Source/PlayerObject.cpp:1028–1037  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1026}
1027
1028void PlayerObject::pushButton()
1029{
1030 if (this->inPlayLayer)
1031 {
1032 m_bIsHolding = true;
1033 _hasJustHeld = true;
1034 _queuedHold = true;
1035 }
1036 if((_currentGamemode == PlayerGamemode::PlayerGamemodeCube || _currentGamemode == PlayerGamemode::PlayerGamemodeRobot) && m_bOnGround) _jumpedTimes++;
1037}
1038
1039void PlayerObject::releaseButton()
1040{

Callers 3

onTouchBeganMethod · 0.80
onKeyPressedMethod · 0.80
onTouchBeganMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected