diff options
Diffstat (limited to 'engines/sherlock/objects.h')
-rw-r--r-- | engines/sherlock/objects.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sherlock/objects.h b/engines/sherlock/objects.h index 60b5b3345e..7b42445f48 100644 --- a/engines/sherlock/objects.h +++ b/engines/sherlock/objects.h @@ -122,6 +122,11 @@ public: int _facing; PositionFacing() : Point32(), _facing(0) {} + PositionFacing(int xp, int yp, int theFacing) : Point32(xp, yp), _facing(theFacing) {} + PositionFacing &operator=(const Point32 &pt) { + x = pt.x; y = pt.y; + return *this; + } }; struct WalkSequence { |