Fission FSN
Loading...
Searching...
No Matches
gfCLevelSequencerMinigameLevelComponent.h
Go to the documentation of this file.
1/********************************************************************
2*
3* File: fsCLevelSequencerMinigameLevelComponent.h
4*
5* Purpose: Individual mini game levels
6*
7*********************************************************************/
8
9#ifndef fsCLevelSequencerMinigameLevelComponenthdr
10#define fsCLevelSequencerMinigameLevelComponenthdr
11
13
14class fsCEntity;
16struct fsPoint;
17
19{
20public:
21
22 const static fsStr mButtonPrefix;
23
24 static fsStr levelFilenameCompose(const fsStr& pPath, const fsStr& pName);
25 fsStr levelFilenameGet() const override;
26
27 fsCEntity* const levelIconEntityGet() const;
28 void posSet(const fsPoint& pPos);
29 void levelIconEntityCreate(fsCEntity* pParent, const fsStr& pLayoutFile);
30
31 fsCLevelSequencerMinigameLevelComponent(const fsStr& pLevelPath, const fsStr& pLevelFolder);
33
34protected:
35
36
37private:
38
39 void infoSet();
40
41 fsStr mSrcFile;
42 fsStr mSrcFolder;
43
44 fsCEntity* mLevelIconEntity;
45};
46
47#endif
Definition fsCEntity.h:39
virtual ~fsCLevelSequencerMinigameLevelComponent()
Definition gfCLevelSequencerMinigameLevelComponent.cpp:95
static fsStr levelFilenameCompose(const fsStr &pPath, const fsStr &pName)
Definition gfCLevelSequencerMinigameLevelComponent.cpp:29
fsCEntity *const levelIconEntityGet() const
Definition gfCLevelSequencerMinigameLevelComponent.cpp:19
static const fsStr mButtonPrefix
Definition gfCLevelSequencerMinigameLevelComponent.h:22
void levelIconEntityCreate(fsCEntity *pParent, const fsStr &pLayoutFile)
Definition gfCLevelSequencerMinigameLevelComponent.cpp:75
void posSet(const fsPoint &pPos)
Definition gfCLevelSequencerMinigameLevelComponent.cpp:24
fsStr levelFilenameGet() const override
Definition gfCLevelSequencerMinigameLevelComponent.cpp:40
fsCLevelSequencerMinigameLevelComponent(const fsStr &pLevelPath, const fsStr &pLevelFolder)
Definition gfCLevelSequencerMinigameLevelComponent.cpp:86
Definition fsStr.h:23
gfCLevelSequencerLevelComponent(const fsStr &pLevelPath, const fsStr &pLevelFolder)
Definition gfCLevelSequencerLevelComponent.cpp:45
Definition gfCLevelSequencerMinigameComponent.h:20
Definition fsPoint.h:17