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