MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / onWorldCreated

Method onWorldCreated

src/engine/GameEngine.cpp:146–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146void GameEngine::onWorldCreated(Handle::WorldHandle world)
147{
148 BaseEngine::onWorldCreated(world);
149
150 if (world.isValid())
151 {
152 world.get().createCamera();
153 }
154}
155
156void GameEngine::onWorldRemoved(Handle::WorldHandle world)
157{

Callers 1

registerWorldMethod · 0.45

Calls 3

createCameraMethod · 0.80
getMethod · 0.80
isValidMethod · 0.45

Tested by

no test coverage detected