2D Engine v0.1.0
Loading...
Searching...
No Matches
SceneView< ComponentTypes > Struct Template Reference

Iterator for Entites of the scene. More...

#include <SceneView.hpp>

Collaboration diagram for SceneView< ComponentTypes >:
Collaboration graph

Classes

struct  Iterator
 Iterator for the SceneView. More...
 

Public Member Functions

 SceneView (Scene &scene)
 Construct a new Scene View object.
 
const Iterator begin () const
 
const Iterator end () const
 

Public Attributes

ScenepScene {nullptr}
 
ComponentMask componentMask
 
bool all {false}
 

Detailed Description

template<typename... ComponentTypes>
struct SceneView< ComponentTypes >

Iterator for Entites of the scene.

Template Parameters
ComponentTypes

Constructor & Destructor Documentation

◆ SceneView()

template<typename... ComponentTypes>
SceneView< ComponentTypes >::SceneView ( Scene & scene)
inline

Construct a new Scene View object.

Parameters
sceneScene

Member Function Documentation

◆ begin()

template<typename... ComponentTypes>
const Iterator SceneView< ComponentTypes >::begin ( ) const
inline

◆ end()

template<typename... ComponentTypes>
const Iterator SceneView< ComponentTypes >::end ( ) const
inline

Member Data Documentation

◆ all

template<typename... ComponentTypes>
bool SceneView< ComponentTypes >::all {false}

◆ componentMask

template<typename... ComponentTypes>
ComponentMask SceneView< ComponentTypes >::componentMask

◆ pScene

template<typename... ComponentTypes>
Scene* SceneView< ComponentTypes >::pScene {nullptr}

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