BCSTM-Player |
This commit is contained in:
32
external/tween-engine/include/TweenEngine/TweenPool.h
vendored
Normal file
32
external/tween-engine/include/TweenEngine/TweenPool.h
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
//
|
||||
// TweenPool.h
|
||||
//
|
||||
// This code is derived from Universal Tween Engine
|
||||
// Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
|
||||
#ifndef __TweenPool__
|
||||
#define __TweenPool__
|
||||
|
||||
#include <TweenEngine/Pool.h>
|
||||
#include <TweenEngine/Tween.h>
|
||||
|
||||
namespace TweenEngine
|
||||
{
|
||||
class TweenPoolCallback : public PoolCallback<Tween>
|
||||
{
|
||||
public:
|
||||
void onPool(Tween *obj);
|
||||
void onUnPool(Tween *obj);
|
||||
};
|
||||
|
||||
class TweenPool : public Pool<Tween>
|
||||
{
|
||||
protected:
|
||||
Tween *create();
|
||||
public:
|
||||
TweenPool();
|
||||
|
||||
};
|
||||
}
|
||||
#endif /* defined(__TweenPool__) */
|
Reference in New Issue
Block a user