mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-04-24 09:43:40 +00:00
27 lines
697 B
C++
27 lines
697 B
C++
#pragma once
|
|
|
|
#include <format>
|
|
#include <vector>
|
|
|
|
#include "TutorialTask.h"
|
|
|
|
class Level;
|
|
class Tutorial;
|
|
class TutorialConstraint;
|
|
|
|
// 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);
|
|
}; |