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

Method changeGravity

Source/PlayLayer.cpp:1952–1957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1950}
1951
1952void PlayLayer::changeGravity(bool gravityFlipped)
1953{
1954 _player1->flipGravity(gravityFlipped);
1955 if (_isDualMode)
1956 _player2->flipGravity(!gravityFlipped);
1957}
1958
1959PlayLayer* PlayLayer::getInstance()
1960{

Callers

nothing calls this directly

Calls 1

flipGravityMethod · 0.80

Tested by

no test coverage detected