This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
22 lines
544 B
C++
22 lines
544 B
C++
#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,
|
|
bool enablePreCompletion = false, vector<TutorialConstraint *> *inConstraints = NULL,
|
|
bool bShowMinimumTime = false, bool bAllowFade = true, bool bTaskReminders = true );
|
|
|
|
virtual bool isCompleted();
|
|
|
|
virtual void onRideEntity(shared_ptr<Entity> entity);
|
|
}; |