mirror of
https://github.com/smartcmd/MinecraftConsoles.git
synced 2026-05-24 06:33:53 +00:00
Initial commit
This commit is contained in:
parent
def8cb4153
commit
b691c43c44
19437 changed files with 4363922 additions and 0 deletions
20
Minecraft.Client/Common/Tutorial/UseItemTask.h
Normal file
20
Minecraft.Client/Common/Tutorial/UseItemTask.h
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
using namespace std;
|
||||
|
||||
#include "TutorialTask.h"
|
||||
|
||||
class Level;
|
||||
|
||||
// 4J Stu - Tasks that involve placing a tile
|
||||
class UseItemTask : public TutorialTask
|
||||
{
|
||||
private:
|
||||
const int itemId;
|
||||
bool completed;
|
||||
|
||||
public:
|
||||
UseItemTask(const int itemId, Tutorial *tutorial, int descriptionId,
|
||||
bool enablePreCompletion = false, vector<TutorialConstraint *> *inConstraints = NULL, bool bShowMinimumTime = false, bool bAllowFade = true, bool bTaskReminders = true );
|
||||
virtual bool isCompleted();
|
||||
virtual void useItem(shared_ptr<ItemInstance> item, bool bTestUseOnly=false);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue