Nui Engine
A game engine framework
Loading...
Searching...
No Matches
Nui::ECS::Internal::ComponentContainerBase Struct Referenceabstract

Abstract base class for component containers. More...

#include <Component.h>

Inheritance diagram for Nui::ECS::Internal::ComponentContainerBase:
Nui::ECS::Internal::ComponentContainer< T >

Public Member Functions

virtual ~ComponentContainerBase ()=default
 Virtual destructor.
 
virtual void OnRemove (Entity *entity)=0
 Pure virtual method called when an entity is removed.
 

Detailed Description

Abstract base class for component containers.

Member Function Documentation

◆ OnRemove()

virtual void Nui::ECS::Internal::ComponentContainerBase::OnRemove ( Entity * entity)
pure virtual

Pure virtual method called when an entity is removed.

Parameters
entityThe entity that was removed

Implemented in Nui::ECS::Internal::ComponentContainer< T >.


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