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

#include <LevelParser.h>

Public Member Functions

int GetTotalObjectCount () const
 
int GetUniqueTypeCount () const
 
bool HasType (const std::string &type) const
 

Public Attributes

std::map< std::string, inttypeCounts
 
std::set< std::string > uniqueTypes
 
std::map< std::string, std::string > templates
 

Detailed Description

Definition at line 52 of file LevelParser.h.

Member Function Documentation

◆ GetTotalObjectCount()

int Olympe::Tiled::ObjectTypeCensus::GetTotalObjectCount ( ) const
inline

Definition at line 58 of file LevelParser.h.

References GetComponentTypeID_Static(), and typeCounts.

+ Here is the call graph for this function:

◆ GetUniqueTypeCount()

int Olympe::Tiled::ObjectTypeCensus::GetUniqueTypeCount ( ) const
inline

Definition at line 65 of file LevelParser.h.

References uniqueTypes.

◆ HasType()

bool Olympe::Tiled::ObjectTypeCensus::HasType ( const std::string &  type) const
inline

Definition at line 67 of file LevelParser.h.

References uniqueTypes.

Member Data Documentation

◆ templates

std::map<std::string, std::string> Olympe::Tiled::ObjectTypeCensus::templates

Definition at line 56 of file LevelParser.h.

◆ typeCounts

std::map<std::string, int> Olympe::Tiled::ObjectTypeCensus::typeCounts

Definition at line 54 of file LevelParser.h.

Referenced by GetTotalObjectCount().

◆ uniqueTypes

std::set<std::string> Olympe::Tiled::ObjectTypeCensus::uniqueTypes

Definition at line 55 of file LevelParser.h.

Referenced by GetUniqueTypeCount(), and HasType().


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