diff options
author | Einar Johan Trøan Sømåen | 2012-12-09 12:25:20 +0100 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-12-09 12:25:20 +0100 |
commit | 233ca0be4ad72b3b262f207ec0eef1d551b93184 (patch) | |
tree | 7809765c62667865aa3f988cf9d447fec4726307 /engines/wintermute/ad/ad_entity.cpp | |
parent | 32e63091d6842e2ca769733c5cfcc518b212270b (diff) | |
download | scummvm-rg350-233ca0be4ad72b3b262f207ec0eef1d551b93184.tar.gz scummvm-rg350-233ca0be4ad72b3b262f207ec0eef1d551b93184.tar.bz2 scummvm-rg350-233ca0be4ad72b3b262f207ec0eef1d551b93184.zip |
WINTERMUTE: Privatize members in AdEntity
Diffstat (limited to 'engines/wintermute/ad/ad_entity.cpp')
-rw-r--r-- | engines/wintermute/ad/ad_entity.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/engines/wintermute/ad/ad_entity.cpp b/engines/wintermute/ad/ad_entity.cpp index 9af7e034ca..2c331de964 100644 --- a/engines/wintermute/ad/ad_entity.cpp +++ b/engines/wintermute/ad/ad_entity.cpp @@ -82,6 +82,21 @@ AdEntity::~AdEntity() { _item = NULL; } +int32 AdEntity::getWalkToX() const { + return _walkToX; +} + +int32 AdEntity::getWalkToY() const { + return _walkToY; +} + +TDirection AdEntity::getWalkToDir() const { + return _walkToDir; +} + +const char *AdEntity::getItemName() const { + return _item; +} ////////////////////////////////////////////////////////////////////////// bool AdEntity::loadFile(const char *filename) { |