Gorgon Game Engine
ComponentStorage Class Reference

This class stores component related data. More...

Public Member Functions

 ~ComponentStorage ()
 

Public Attributes

Graphics::Layerlayer
 If necessary a layer will be assigned to this component. More...
 
const Graphics::Drawableprimary
 Primary drawable is either background for container or the graphics for the graphic template. More...
 
const Graphics::Drawablesecondary
 Secondary is for container overlay. More...
 
Animation::ControlledTimertimer
 This is a controlled timer that will be used for ModifyAnimation value modification. More...
 

Detailed Description

This class stores component related data.

It will be instantiated whenever a new template is instantiated and will be preserved even after the component is destroyed. This prevents constant construction and destruction of objects.

Constructor & Destructor Documentation

◆ ~ComponentStorage()

Member Data Documentation

◆ layer

If necessary a layer will be assigned to this component.

◆ primary

const Graphics::Drawable* primary

Primary drawable is either background for container or the graphics for the graphic template.

◆ secondary

const Graphics::Drawable* secondary

Secondary is for container overlay.

◆ timer

This is a controlled timer that will be used for ModifyAnimation value modification.


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