4jcraft/Minecraft.Client/Platform/Common/Tutorial/RideEntityTask.h
MatthewBeshay dfb0e3b03e refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
2026-03-30 16:25:52 +11:00

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);
};