MCPcopy Create free account
hub / github.com/EasyRPG/Player / ShakeOnce

Method ShakeOnce

src/game_screen.cpp:139–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void Game_Screen::ShakeOnce(int power, int speed, int tenths) {
140 data.shake_strength = power;
141 data.shake_speed = speed;
142 data.shake_time_left = tenths;
143 data.shake_continuous = false;
144 // Shake position is not reset in RPG_RT, so that multiple shakes
145 // which interrupt each other flow smoothly.
146}
147
148void Game_Screen::ShakeBegin(int power, int speed) {
149 data.shake_strength = power;

Callers 4

CommandShakeScreenMethod · 0.45
ShakeTargetsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected