Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Level Class Reference

#include <Level.h>

Public Member Functions

 Level (const std::string &n="Level")
 
 ~Level ()
 
void AddSector (std::unique_ptr< Sector > s)
 

Public Attributes

std::string name
 
std::vector< std::unique_ptr< Sector > > sectors
 

Detailed Description

Definition at line 12 of file Level.h.

Constructor & Destructor Documentation

◆ Level()

Level::Level ( const std::string &  n = "Level")
inline

Definition at line 18 of file Level.h.

References name, and SYSTEM_LOG.

◆ ~Level()

Level::~Level ( )
inline

Definition at line 22 of file Level.h.

References name, and SYSTEM_LOG.

Member Function Documentation

◆ AddSector()

void Level::AddSector ( std::unique_ptr< Sector s)
inline

Definition at line 27 of file Level.h.

References GetComponentTypeID_Static(), and sectors.

+ Here is the call graph for this function:

Member Data Documentation

◆ name

std::string Level::name

Definition at line 15 of file Level.h.

Referenced by Level(), and ~Level().

◆ sectors

std::vector<std::unique_ptr<Sector> > Level::sectors

Definition at line 16 of file Level.h.

Referenced by AddSector().


The documentation for this class was generated from the following file: