1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/********************************************************************
*
*	File:		fsC3dAnimation.h
*
*	Purpose:	Marmalade implementation of vpI3dAnimation
*
*********************************************************************/

#ifndef fsC3dAnimationhdr
#define fsC3dAnimationhdr

#include <3d/Animate3D.h>

#include "../../fsI3dAnimation.h"


class fsC3dAnimation : public fsI3dAnimation
{
	friend class fsI3dAnimation;
	friend class fsC3dSpriteRenderData;
	friend class fsCNative3dSprite;
	friend class fsC3dModelData;

public:

	virtual ~fsC3dAnimation();<--- Destructor in derived class

protected:

	void updateDo(fsS32 pDeltaMs) override;<--- Function in derived class

private:

	fsC3dAnimation(std::shared_ptr<fsI3dAnimationData> pAnimData, const fsStr& pAnimationName);

	axmol::Animate3D* mAnim;
};

#endif