mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-21 09:43:51 +00:00
Initial commit
This commit is contained in:
parent
def8cb4153
commit
b691c43c44
19437 changed files with 4363922 additions and 0 deletions
18
Minecraft.Client/Common/Tutorial/StatTask.h
Normal file
18
Minecraft.Client/Common/Tutorial/StatTask.h
Normal 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();
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue