2026-03-03 03:04:10 +08:00
|
|
|
#pragma once
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
|
|
#include "TutorialTask.h"
|
|
|
|
|
|
|
|
|
|
class Level;
|
|
|
|
|
|
|
|
|
|
// 4J-JEV: Tasks that involve riding an entity.
|
|
|
|
|
class RideEntityTask : public TutorialTask
|
|
|
|
|
{
|
|
|
|
|
protected:
|
|
|
|
|
const int m_eType;
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
RideEntityTask(const int eTYPE, Tutorial *tutorial, int descriptionId,
|
2026-03-07 21:12:22 -06:00
|
|
|
bool enablePreCompletion = false, vector<TutorialConstraint *> *inConstraints = NULL,
|
2026-03-03 03:04:10 +08:00
|
|
|
bool bShowMinimumTime = false, bool bAllowFade = true, bool bTaskReminders = true );
|
|
|
|
|
|
|
|
|
|
virtual bool isCompleted();
|
|
|
|
|
|
|
|
|
|
virtual void onRideEntity(shared_ptr<Entity> entity);
|
|
|
|
|
};
|