Fireworks Engine  v2.0
Lightweight Sandbox Game Engine using OpenGL for additional Customisation and Quick Prototyping
fireworks::components::Component Class Reference

Class for creating components. More...

#include <component.h>

Inheritance diagram for fireworks::components::Component:
Collaboration diagram for fireworks::components::Component:

Public Attributes

ComponentType componentType
 Basic information about the type of the component. More...
 

Protected Member Functions

 Component (const std::string &componentName, unsigned int componentID)
 Creates the component. More...
 
virtual void Dummy ()
 A Dummy method to make the class polymorphic. More...
 

Detailed Description

Class for creating components.

Constructor & Destructor Documentation

◆ Component()

fireworks::components::Component::Component ( const std::string &  componentName,
unsigned int  componentID 
)
protected

Creates the component.

Takes basic information to uniquely identify the component

Parameters
componentNameThe name of the component
componentIDThe unique ID of the particular component

Member Function Documentation

◆ Dummy()

virtual void fireworks::components::Component::Dummy ( )
inlineprotectedvirtual

A Dummy method to make the class polymorphic.

Member Data Documentation

◆ componentType

ComponentType fireworks::components::Component::componentType

Basic information about the type of the component.


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