EzGL
Public Member Functions
EzGL::IComponent Class Referenceabstract

Allows Component to utilize dynamic polymorphism. More...

#include <IComponent.hpp>

Inheritance diagram for EzGL::IComponent:
EzGL::Component< CenterCamera > EzGL::Component< Collision > EzGL::Component< Control > EzGL::Component< Gravity > EzGL::Component< MainEvent > EzGL::Component< MainLogic > EzGL::Component< MainRender > EzGL::Component< Motion > EzGL::Component< PlatformerEvent > EzGL::Component< PlatformerLogic > EzGL::Component< Texture > EzGL::Component< TileMap > EzGL::Component< T >

Public Member Functions

virtual void IInit (Object &self, Object &main)=0
 Initialize all components. More...
 
virtual void IUpdate (Object &self, Object &main)=0
 Update all components. More...
 

Detailed Description

Allows Component to utilize dynamic polymorphism.

Without this base class, components of unspecified types couldn't be stored inside containers like vectors. This class is not copyable.

Member Function Documentation

◆ IInit()

virtual void EzGL::IComponent::IInit ( Object self,
Object main 
)
pure virtual

◆ IUpdate()

virtual void EzGL::IComponent::IUpdate ( Object self,
Object main 
)
pure virtual

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