mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 15:13:37 +00:00
22 lines
618 B
C++
22 lines
618 B
C++
#pragma once
|
|
|
|
#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,
|
|
bool enablePreCompletion = false,
|
|
std::vector<TutorialConstraint*>* inConstraints = nullptr,
|
|
bool bShowMinimumTime = false, bool bAllowFade = true,
|
|
bool bTaskReminders = true);
|
|
|
|
virtual bool isCompleted();
|
|
|
|
virtual void onRideEntity(std::shared_ptr<Entity> entity);
|
|
}; |