Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atraczyk/2d-engine
/ initializeLevel
Method
initializeLevel
engine/src/world.cpp:18–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
16
extern Game game;
17
18
void Level::initializeLevel()
19
{
20
enemySpawns.clear();
21
dynTileMaps.Clear();
22
}
23
24
void World::loadLevel(const char* filename, Camera* camera)
25
{
Callers
1
loadLevel
Method · 0.80
Calls
1
Clear
Method · 0.45
Tested by
no test coverage detected