exclude unused GameMode implementations, format Platform/Common/Tutorial
This commit is contained in:
1 parent
3fa28df4da
commit
a30330f1d0
64 files changed
+5915
-4811
No files matched your search
@@ -1,28 +1,32 @@
|
||||
#pragma once
|
||||
//using namespace std;
|
||||
// using namespace std;
|
||||
|
||||
#include "../../Minecraft.Client/Player/MultiPlayerGameMode.h"
|
||||
#include "Tutorial.h"
|
||||
|
||||
class TutorialMode : public MultiPlayerGameMode
|
||||
{
|
||||
class TutorialMode : public MultiPlayerGameMode {
|
||||
protected:
|
||||
Tutorial *tutorial;
|
||||
int m_iPad;
|
||||
Tutorial* tutorial;
|
||||
int m_iPad;
|
||||
|
||||
// Function to make this an abstract class
|
||||
virtual bool isImplemented() = 0;
|
||||
|
||||
// Function to make this an abstract class
|
||||
virtual bool isImplemented() = 0;
|
||||
public:
|
||||
TutorialMode(int iPad, Minecraft *minecraft, ClientConnection *connection);
|
||||
virtual ~TutorialMode();
|
||||
TutorialMode(int iPad, Minecraft* minecraft, ClientConnection* connection);
|
||||
virtual ~TutorialMode();
|
||||
|
||||
virtual void startDestroyBlock(int x, int y, int z, int face);
|
||||
virtual bool destroyBlock(int x, int y, int z, int face);
|
||||
virtual void tick();
|
||||
virtual bool useItemOn(std::shared_ptr<Player> player, Level *level, std::shared_ptr<ItemInstance> item, int x, int y, int z, int face, Vec3 *hit, bool bTestUseOnly=false, bool *pbUsedItem=NULL);
|
||||
virtual void attack(std::shared_ptr<Player> player, std::shared_ptr<Entity> entity);
|
||||
virtual bool useItemOn(std::shared_ptr<Player> player, Level* level,
|
||||
std::shared_ptr<ItemInstance> item, int x, int y,
|
||||
int z, int face, Vec3* hit,
|
||||
bool bTestUseOnly = false, bool* pbUsedItem = NULL);
|
||||
virtual void attack(std::shared_ptr<Player> player,
|
||||
std::shared_ptr<Entity> entity);
|
||||
|
||||
virtual bool isInputAllowed(int mapping);
|
||||
virtual bool isInputAllowed(int mapping);
|
||||
|
||||
Tutorial *getTutorial() { return tutorial; }
|
||||
Tutorial* getTutorial() { return tutorial; }
|
||||
};
|
||||
Reference in new issue
Block a user