PixelLightAPI  .
Public Member Functions | Public Attributes | Protected Member Functions
PLRenderer::AnimationManager Class Reference

This is a manager for the animation element. More...

#include <AnimationManager.h>

Inheritance diagram for PLRenderer::AnimationManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

PLRENDERER_API AnimationManager ()
 Constructor.
virtual PLRENDERER_API ~AnimationManager ()
 Destructor.

Public Attributes

PLCore::Event EventAnimationFrameChange

Protected Member Functions

virtual PLRENDERER_API
PLRenderer::Animation
CreateElement (const PLCore::String &sName) override
 Creates a new element.

Detailed Description

This is a manager for the animation element.


Constructor & Destructor Documentation

Constructor.

virtual PLRENDERER_API PLRenderer::AnimationManager::~AnimationManager ( ) [virtual]

Destructor.


Member Function Documentation

virtual PLRENDERER_API PLRenderer::Animation* PLRenderer::AnimationManager::CreateElement ( const PLCore::String sName) [override, protected, virtual]

Creates a new element.

Parameters:
[in]sNameElement name
Returns:
Pointer to the created element, a null pointer if there was an error
Note:
  • This function is used inside the function Create(). If AType is an abstract class you have to overwrite this function to create an instance of the class.

Implements PLCore::ElementManager< PLRenderer::Animation >.


Member Data Documentation

Current animation frame change event


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


PixelLight PixelLight 0.9.10-R1
Copyright (C) 2002-2011 by The PixelLight Team
Last modified Fri Dec 23 2011 15:51:22
The content of this PixelLight document is published under the
Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported