MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / G_stopEvent

Function G_stopEvent

engine/src/game.cpp:286–297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

284}
285
286bool G_stopEvent(std::string name)
287{
288 for (int i = 0; i < game.events.size(); i++)
289 {
290 if (!name.compare(game.events[i].name))
291 {
292 game.events[i].Stop();
293 return true;
294 }
295 }
296 return false;
297}
298
299void G_initializeEvents()
300{

Callers

nothing calls this directly

Calls 1

StopMethod · 0.80

Tested by

no test coverage detected