/********************************************************************
*
* Created: 19/2/2015 15:25
*
* File: fsCFlipsawCutterComponent.h
*
* Author: Martin P. King
*
* Purpose: Cutter to create rotate minigame tiles
*
*********************************************************************/
#ifndef fsCFlipsawCutterComponenthdr
#define fsCFlipsawCutterComponenthdr
#include "../gfISimpleCutterComponent.h"
class fsCFlipsawCutterComponent : public gfISimpleCutterComponent
{
friend class fsCComponentFactory;
public:
static const fsCUniqueId mTypeId;
static const fsStr mEntityPrefix;
void stencilsCreate() override;
protected:
fsStr minigamePieceNameGet() const override;
void doCut(fsCEntity* pEnt, gfIStencil* pStencil, fsBool pFirstTime) override;
gfIStencil* const stencilRestore() override;
void doSetup(const fsCVariableTable& pStyle, const fsStr& pLevelName) override;
static fsIComponent* create(fsCEntity* pParent);
fsCFlipsawCutterComponent(fsCEntity* pParent);
virtual ~fsCFlipsawCutterComponent();<--- Destructor in derived class
private:
};
#endif