This commit is contained in:
JuiceyDev
2026-03-06 17:22:54 +01:00
parent ff3b7789d5
commit 0e13ac4955
2368 changed files with 1 additions and 3 deletions

View File

@@ -0,0 +1,25 @@
#pragma once
using namespace std;
#include "Tutorial.h"
#include "TutorialTask.h"
class ProgressFlagTask : public TutorialTask
{
public:
enum EProgressFlagType
{
e_Progress_Set_Flag,
e_Progress_Flag_On,
};
private:
char *flags; // Not a member of this object
char m_mask;
EProgressFlagType m_type;
public:
ProgressFlagTask(char *flags, char mask, EProgressFlagType type, Tutorial *tutorial ) :
TutorialTask(tutorial, -1, false, NULL ),
flags( flags ), m_mask( mask ), m_type( type )
{}
virtual bool isCompleted();
};