the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2using namespace std;
3#include "Tutorial.h"
4#include "TutorialTask.h"
5
6class ProgressFlagTask : public TutorialTask
7{
8public:
9 enum EProgressFlagType
10 {
11 e_Progress_Set_Flag,
12 e_Progress_Flag_On,
13 };
14private:
15 char *flags; // Not a member of this object
16 char m_mask;
17 EProgressFlagType m_type;
18public:
19 ProgressFlagTask(char *flags, char mask, EProgressFlagType type, Tutorial *tutorial ) :
20 TutorialTask(tutorial, -1, false, NULL ),
21 flags( flags ), m_mask( mask ), m_type( type )
22 {}
23
24 virtual bool isCompleted();
25};