This commit is contained in:
JuiceyDev committed 2026-03-06 17:22:54 +01:00
1 parent ff3b7789d5
commit 0e13ac4955
2368 files changed
+1 -3

No files matched your search

+20
View 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);
};