Fission FSN
Loading...
Searching...
No Matches
fsCAutoMinigameLevelComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCAutoMinigameLevelComponent.h
4*
5* Purpose: Mini game that's generated at run time.
6*
7* Grabs some global saved data set by a calling button
8* to extend the level settings file in memory to set
9* the parameters for creating an auto cut stencil mini
10* game
11*
12*********************************************************************/
13
14#ifndef fsCAutoMinigameLevelComponenthdr
15#define fsCAutoMinigameLevelComponenthdr
16
18
20
22
24{
25 friend class fsCComponentFactory;
26
27public:
28
29 static const fsCUniqueId mTypeId;
30
31 static fsStr saveStateKeyCreate(const fsStr& pStencilSet, const fsStr& pGameType, const fsStr& pSrcArt);
32
34
35protected:
36
37 fsStr saveStateKeyGet() override;
38
39 void doPostEntityCreation() override;
40
42
43 static fsIComponent* create(fsCEntity* pParent);
44
45private:
46
47 void gameCreate();
48 gfICutterComponent* const cutterChoose(fsCEntity* pCutterEnt);
49};
50
51#endif
static const fsCUniqueId mTypeId
Definition fsCAutoMinigameLevelComponent.h:29
void doPostEntityCreation() override
Definition fsCAutoMinigameLevelComponent.cpp:26
friend class fsCComponentFactory
Definition fsCAutoMinigameLevelComponent.h:25
virtual ~fsCAutoMinigameLevelComponent()
Definition fsCAutoMinigameLevelComponent.cpp:113
fsCAutoMinigameLevelComponent(fsCEntity *pParent)
Definition fsCAutoMinigameLevelComponent.cpp:108
static fsStr saveStateKeyCreate(const fsStr &pStencilSet, const fsStr &pGameType, const fsStr &pSrcArt)
Definition fsCAutoMinigameLevelComponent.cpp:82
static fsIComponent * create(fsCEntity *pParent)
Definition fsCAutoMinigameLevelComponent.cpp:101
fsStr saveStateKeyGet() override
Definition fsCAutoMinigameLevelComponent.cpp:93
Definition fsCEntity.h:39
Definition fsCUniqueId.h:21
Definition fsIComponent.h:26
Definition fsStr.h:23
gfCHogLevelComponent(fsCEntity *pParent)
Definition gfCHogLevelComponent.cpp:885
Definition gfICutterComponent.h:28