Leviathan  0.8.0.0
Leviathan game engine
Leviathan::Component Class Reference

Base class for all components. More...

#include <Component.h>

+ Inheritance diagram for Leviathan::Component:

Public Member Functions

 Component (COMPONENT_TYPE type)
 
 Component (const Component &)=delete
 
Componentoperator= (const Component &)=delete
 

Public Attributes

bool Marked
 
const COMPONENT_TYPE Type
 Type of this component, used for network serialization. More...
 

Detailed Description

Base class for all components.

Definition at line 52 of file Component.h.

Constructor & Destructor Documentation

◆ Component() [1/2]

Leviathan::Component::Component ( COMPONENT_TYPE  type)
inline

Definition at line 55 of file Component.h.

55 : Marked(true), Type(type){};
const COMPONENT_TYPE Type
Type of this component, used for network serialization.
Definition: Component.h:63

◆ Component() [2/2]

Leviathan::Component::Component ( const Component )
delete

Member Function Documentation

◆ operator=()

Component& Leviathan::Component::operator= ( const Component )
delete

Member Data Documentation

◆ Marked

bool Leviathan::Component::Marked

Set to true when this component has changed Can be used by other systems to react to changing components

Note
This is true when the component has just been created

Definition at line 55 of file Component.h.

◆ Type

const COMPONENT_TYPE Leviathan::Component::Type

Type of this component, used for network serialization.

Definition at line 63 of file Component.h.


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