diff options
Diffstat (limited to 'engines/wintermute/ad/ad_rot_level.h')
-rw-r--r-- | engines/wintermute/ad/ad_rot_level.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/wintermute/ad/ad_rot_level.h b/engines/wintermute/ad/ad_rot_level.h index d7f5f8edf0..3466e46ba5 100644 --- a/engines/wintermute/ad/ad_rot_level.h +++ b/engines/wintermute/ad/ad_rot_level.h @@ -34,12 +34,13 @@ namespace Wintermute { class AdRotLevel : public BaseObject { + float _rotation; public: DECLARE_PERSISTENT(AdRotLevel, BaseObject) AdRotLevel(BaseGame *inGame); virtual ~AdRotLevel(); - float _rotation; - virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent); + float getRotation() const { return _rotation; } + virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent) override; bool loadFile(const char *filename); bool loadBuffer(byte *buffer, bool complete = true); }; |