MCPcopy Create free account
hub / github.com/GlobedGD/globed2 / onModuleInit

Method onModuleInit

src/modules/collision/CollisionModule.cpp:14–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12CollisionModule::CollisionModule() {}
13
14void CollisionModule::onModuleInit() {
15 this->setAutoEnableMode(AutoEnableMode::Level);
16}
17
18void CollisionModule::onJoinLevel(GlobedGJBGL* gjbgl, GJGameLevel* level, bool editor) {
19 // if deathlink is disabled, disable the module for this level

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected