cocos2d-x  3.2alpha0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Animation3DCache Class Reference

#include <CCAnimation3D.h>

Public Member Functions

Animation3DgetAnimation (const std::string &key)
var getAnimation ( var key)
local getAnimation ( local key)
void addAnimation (const std::string &key, Animation3D *animation)
var addAnimation ( var key, var animation)
local addAnimation ( local key, local animation)
void removeAllAnimations ()
var removeAllAnimations ()
local removeAllAnimations ()
void removeUnusedAnimation ()
var removeUnusedAnimation ()
local removeUnusedAnimation ()

Static Public Member Functions

static Animation3DCachegetInstance ()
local getInstance ()
static void destroyInstance ()

Protected Member Functions

 Animation3DCache ()
 Animation3DCache ()
 Animation3DCache ()
 ~Animation3DCache ()
 ~Animation3DCache ()
 ~Animation3DCache ()

Protected Attributes

std::unordered_map
< std::string, Animation3D * > 
_animations
var _animations
local _animations

Static Protected Attributes

static Animation3DCache_cacheInstance
var _cacheInstance
local _cacheInstance

Constructor & Destructor Documentation

Animation3DCache ( )
protected
var Animation3DCache ( )
protected
local Animation3DCache ( )
protected
~Animation3DCache ( )
protected
var ~Animation3DCache ( )
protected
local ~Animation3DCache ( )
protected

Member Function Documentation

void addAnimation ( const std::string &  key,
Animation3D animation 
)
var addAnimation ( var  key,
var  animation 
)
local addAnimation ( local  key,
local  animation 
)
static void destroyInstance ( )
static
var destroyInstance ( )
static
local destroyInstance ( )
static
Animation3D* getAnimation ( const std::string &  key)
var getAnimation ( var  key)
local getAnimation ( local  key)
static Animation3DCache*
getInstance
( )
static
var getInstance ( )
static
local getInstance ( )
static
void removeAllAnimations ( )
var removeAllAnimations ( )
local removeAllAnimations ( )
void removeUnusedAnimation ( )
var removeUnusedAnimation ( )
local removeUnusedAnimation ( )

Member Data Documentation

std::unordered_map<std::string,
Animation3D*> _animations
protected
var _animations
protected
local _animations
protected
Animation3DCache* _cacheInstance
staticprotected
var _cacheInstance
staticprotected
local _cacheInstance
staticprotected

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