Kigs Framework  Doc version 0.8
Open source multi purpose Rapid Application Development framework
Public Member Functions | Protected Member Functions | List of all members
Module2DLayers Class Reference

#include <Module2DLayers.h>

Inherits ModuleBase.

Public Member Functions

 Module2DLayers (const kstl::string &name, DECLARE_CLASS_NAME_TREE_ARG)
 constructor More...
 
void Init (KigsCore *core, const kstl::vector< CoreModifiableAttribute * > *params) override
 initialize module More...
 
void Close () override
 close module
 
void Update (const Timer &timer, void *addParam) override
 update module More...
 
kstl::set< CoreModifiable * > GetLayerList ()
 get the layers list More...
 

Protected Member Functions

virtual ~Module2DLayers ()
 destructor
 

Detailed Description

Generic Module for 2D drawing ( IHM, sprites...)

2

Manage UI classes and other 2D drawing.

Constructor & Destructor Documentation

◆ Module2DLayers()

Module2DLayers::Module2DLayers ( const kstl::string &  name,
DECLARE_CLASS_NAME_TREE_ARG   
)

constructor

Parameters
name: instance name
DECLARE_CLASS_NAME_TREE_ARG: list of arguments

Member Function Documentation

◆ GetLayerList()

kstl::set< CoreModifiable * > Module2DLayers::GetLayerList ( )

get the layers list

Returns
the layers list

◆ Init()

void Module2DLayers::Init ( KigsCore core,
const kstl::vector< CoreModifiableAttribute * > *  params 
)
override

initialize module

Parameters
core: link to the core, NOT NULL
params: list of parameters

◆ Update()

void Module2DLayers::Update ( const Timer timer,
void *  addParam 
)
overridevirtual

update module

Parameters
timer: timer global

Reimplemented from CoreModifiable.


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