mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-06 13:36:31 +00:00
TU19: merge Minecraft.Client/Platform/Common/Tutorial
This commit is contained in:
22
Minecraft.Client/Platform/Common/Tutorial/RideEntityTask.h
Normal file
22
Minecraft.Client/Platform/Common/Tutorial/RideEntityTask.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#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 = NULL,
|
||||
bool bShowMinimumTime = false, bool bAllowFade = true,
|
||||
bool bTaskReminders = true);
|
||||
|
||||
virtual bool isCompleted();
|
||||
|
||||
virtual void onRideEntity(std::shared_ptr<Entity> entity);
|
||||
};
|
||||
Reference in New Issue
Block a user