blob: ba38f00a4ecb8f47a843605a1821055016d84286 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#pragma once
using namespace std;
#include "TutorialTask.h"
class Stat;
// 4J Stu - Tutorial tasks that can use the current stat trackin code. This is things like blocks mined/items crafted.
class StatTask : public TutorialTask
{
private:
Stat *stat;
int targetValue;
public:
StatTask(Tutorial *tutorial, int descriptionId, bool enablePreCompletion, Stat *stat, int variance = 1);
virtual bool isCompleted();
};
|