TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Classes | Functions
Map Loading

Architecture and workflow for loading maps and paths. More...

Classes

class  IMapParser
 Abstract base class for all map parsers. More...
 

Functions

void Map::AddDefaultNode (Entity &node, glm::vec3 mPosition)
 Adds a default node to the ECS.
 

Detailed Description

Architecture and workflow for loading maps and paths.

The map loading system separates file parsing from entity creation. Each parser derives from IMapParser and interacts with Map.cpp via callbacks.

Function Documentation

◆ AddDefaultNode()

void Map::AddDefaultNode ( Entity node,
glm::vec3  mPosition 
)

Adds a default node to the ECS.

Used as a callback by parsers to attach TransformComponent, Rectangle_w_Color, and RectangleFlashAnimatorComponent.