mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-10 20:46:47 +03:00
Delete copy operations for GameScriptAIObject, GameScriptCameraInfo, GameScriptSinkInfo and GameScriptSoundSourceInfo - this can be changed later, but for now is a safety measure since we hold a reference, which means copying these would take some extra thought.
This commit is contained in:
parent
e33e821cb8
commit
dba2f8ac91
4 changed files with 14 additions and 0 deletions
|
@ -13,6 +13,10 @@ class GameScriptCameraInfo : public GameScriptNamedBase<GameScriptCameraInfo, LE
|
|||
public:
|
||||
GameScriptCameraInfo(LEVEL_CAMERA_INFO& ref, bool temp);
|
||||
~GameScriptCameraInfo();
|
||||
|
||||
GameScriptCameraInfo& operator=(GameScriptCameraInfo const& other) = delete;
|
||||
GameScriptCameraInfo(GameScriptCameraInfo const& other) = delete;
|
||||
|
||||
static void Register(sol::state *);
|
||||
GameScriptPosition GetPos() const;
|
||||
void SetPos(GameScriptPosition const& pos);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue