Something went wrong. Try again.
the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
Something went wrong. Try again.
947 B · 24 lines
C
at main
123456789101112131415161718192021222324#pragma onceusing namespace std;
#include "TutorialTask.h"
class Level;
// 4J Stu - Tasks that involve using a tile, with or without an item. e.g. Opening a chestclass UseTileTask : public TutorialTask{private: int x,y,z; const int tileId; bool useLocation; bool completed;
public: UseTileTask(const int tileId, int x, int y, int z, Tutorial *tutorial, int descriptionId, bool enablePreCompletion = false, vector<TutorialConstraint *> *inConstraints = NULL, bool bShowMinimumTime = false, bool bAllowFade = true, bool bTaskReminders = true ); UseTileTask(const int tileId, 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 useItemOn(Level *level, shared_ptr<ItemInstance> item, int x, int y, int z, bool bTestUseOnly=false);};