first commit
This commit is contained in:
25
Minecraft.Client/Common/Tutorial/AreaHint.h
Normal file
25
Minecraft.Client/Common/Tutorial/AreaHint.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include "TutorialHint.h"
|
||||
|
||||
class AABB;
|
||||
|
||||
class AreaHint : public TutorialHint
|
||||
{
|
||||
private:
|
||||
AABB *area;
|
||||
bool contains; // If true we must stay in this area, if false must stay out of this area
|
||||
|
||||
// Only display the hint if the game is in this state
|
||||
eTutorial_State m_displayState;
|
||||
|
||||
// Only display the hint if this state is not completed
|
||||
eTutorial_State m_completeState;
|
||||
|
||||
public:
|
||||
AreaHint(eTutorial_Hint id, Tutorial *tutorial, eTutorial_State displayState, eTutorial_State completeState,
|
||||
int descriptionId, double x0, double y0, double z0, double x1, double y1, double z1, bool allowFade = true, bool contains = true );
|
||||
~AreaHint();
|
||||
|
||||
virtual int tick();
|
||||
};
|
||||
Reference in New Issue
Block a user