/********************************************************************
*
* Created: 17/2/2014 11:01
*
* File: fsCGotoFrameKeyFrame.h
*
* Author: Mick Waites
*
* Purpose: Jump to random frame in the current timeline.
*
*********************************************************************/
#ifndef fsCGotoFrameKeyFramehdr
#define fsCGotoFrameKeyFramehdr
#include <fsCore/fsStr.h>
#include "../fsIKeyFrame.h"
class fsCGotoFrameKeyFrame : public fsIKeyFrame
{
public:
void execute(fsCAnimatingSpritePlayfirst* pParent) override;
fsCGotoFrameKeyFrame(fsStr pCommand);
virtual ~fsCGotoFrameKeyFrame();<--- Destructor in derived class
protected:
fsS32 mFrameNum;
fsS32 mRandomRange;
private:
};
#endif