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,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();
};