Fission FSN
Loading...
Searching...
No Matches
gfCSlidasquareCutterComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: gfCSlidasquareCutterComponent.h
4*
5* Purpose: Cutter to create slidasquare minigame tiles
6*
7*********************************************************************/
8
9#ifndef gfCSlidasquareCutterComponenthdr
10#define gfCSlidasquareCutterComponenthdr
11
13
15{
16 friend class fsCComponentFactory;
17
18public:
19
20 static const fsCUniqueId mTypeId;
21 static const fsStr mEntityPrefix;
22
23 void stencilsCreate() override;
24
25protected:
26
27 fsStr minigamePieceNameGet() const override;
28 void doCut(fsCEntity* pEnt, gfIStencil* pStencil, fsBool pFirstTime) override;
29 gfIStencil* const stencilRestore() override;
30 void doSetup(const fsCVariableTable& pStyle, const fsStr& pLevelName) override;
31
32 static fsIComponent* create(fsCEntity* pParent);
33
36
37private:
38};
39
40#endif
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
Definition fsCVariableTable.h:27
fsIComponent(fsCEntity *pParent)
Definition fsIComponent.cpp:86
Definition fsStr.h:23
void doCut(fsCEntity *pEnt, gfIStencil *pStencil, fsBool pFirstTime) override
Definition gfCSlidasquareCutterComponent.cpp:30
void stencilsCreate() override
Definition gfCSlidasquareCutterComponent.cpp:38
friend class fsCComponentFactory
Definition gfCSlidasquareCutterComponent.h:16
static fsIComponent * create(fsCEntity *pParent)
Definition gfCSlidasquareCutterComponent.cpp:51
void doSetup(const fsCVariableTable &pStyle, const fsStr &pLevelName) override
Definition gfCSlidasquareCutterComponent.cpp:25
static const fsStr mEntityPrefix
Definition gfCSlidasquareCutterComponent.h:21
static const fsCUniqueId mTypeId
Definition gfCSlidasquareCutterComponent.h:20
virtual ~gfCSlidasquareCutterComponent()
Definition gfCSlidasquareCutterComponent.cpp:61
fsStr minigamePieceNameGet() const override
Definition gfCSlidasquareCutterComponent.cpp:15
gfIStencil *const stencilRestore() override
Definition gfCSlidasquareCutterComponent.cpp:20
gfCSlidasquareCutterComponent(fsCEntity *pParent)
Definition gfCSlidasquareCutterComponent.cpp:56
gfISimpleCutterComponent(fsCEntity *pParent)
Definition gfISimpleCutterComponent.cpp:27
Definition gfIStencil.h:22
bool fsBool
Definition fsBaseTypes.h:26