/********************************************************************
*
* File: fsCLevelSequencerMinigameLevelComponent.h
*
* Purpose: Individual mini game levels
*
*********************************************************************/
#ifndef fsCLevelSequencerMinigameLevelComponenthdr
#define fsCLevelSequencerMinigameLevelComponenthdr
#include "../gfCLevelSequencerLevelComponent.h"
class fsCEntity;
class gfCLevelSequencerMinigameComponent;
struct fsPoint;
class fsCLevelSequencerMinigameLevelComponent : public gfCLevelSequencerLevelComponent
{
public:
const static fsStr mButtonPrefix;
static fsStr levelFilenameCompose(const fsStr& pPath, const fsStr& pName);
fsStr levelFilenameGet() const override;
fsCEntity* const levelIconEntityGet() const;
void posSet(const fsPoint& pPos);
void levelIconEntityCreate(fsCEntity* pParent, const fsStr& pLayoutFile);
fsCLevelSequencerMinigameLevelComponent(const fsStr& pLevelPath, const fsStr& pLevelFolder);
virtual ~fsCLevelSequencerMinigameLevelComponent();<--- Destructor in derived class
protected:
private:
void infoSet();
fsStr mSrcFile;
fsStr mSrcFolder;
fsCEntity* mLevelIconEntity;
};
#endif