mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 04:26:42 +03:00
Move over GameScriptAIObject and some other things to Scripting. This won't build... yet.
This commit is contained in:
parent
52011310b5
commit
a499f878d2
8 changed files with 20 additions and 7 deletions
|
@ -1,50 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
#include "GameScriptNamedBase.h"
|
||||
#include "Specific/level.h"
|
||||
|
||||
namespace sol {
|
||||
class state;
|
||||
}
|
||||
class GameScriptPosition;
|
||||
|
||||
class GameScriptAIObject : public GameScriptNamedBase<GameScriptAIObject, AI_OBJECT&>
|
||||
{
|
||||
public:
|
||||
GameScriptAIObject(AI_OBJECT& ref, bool temp);
|
||||
~GameScriptAIObject();
|
||||
|
||||
GameScriptAIObject& operator=(GameScriptAIObject const& other) = delete;
|
||||
GameScriptAIObject(GameScriptAIObject const& other) = delete;
|
||||
|
||||
static void Register(sol::state *);
|
||||
|
||||
GameScriptPosition GetPos() const;
|
||||
void SetPos(GameScriptPosition const& pos);
|
||||
|
||||
short GetRoom() const;
|
||||
void SetRoom(short Room);
|
||||
|
||||
std::string GetName() const;
|
||||
void SetName(std::string const &);
|
||||
|
||||
GAME_OBJECT_ID GetObjID() const;
|
||||
void SetObjID(GAME_OBJECT_ID);
|
||||
|
||||
short GetTriggerFlags() const;
|
||||
void SetTriggerFlags(short);
|
||||
|
||||
short GetFlags() const;
|
||||
void SetFlags(short);
|
||||
|
||||
short GetYRot() const;
|
||||
void SetYRot(short);
|
||||
|
||||
short GetBoxNumber() const;
|
||||
void SetBoxNumber(short);
|
||||
|
||||
private:
|
||||
AI_OBJECT & m_aiObject;
|
||||
bool m_temporary;
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue