mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 04:13:37 +00:00
20 lines
466 B
C++
20 lines
466 B
C++
#pragma once
|
|
// using namespace std;
|
|
|
|
#include "TutorialTask.h"
|
|
|
|
class Stat;
|
|
class Tutorial;
|
|
|
|
// 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();
|
|
}; |