diff options
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r-- | engines/parallaction/walk.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp index ce9ec11af2..e9c19171e7 100644 --- a/engines/parallaction/walk.cpp +++ b/engines/parallaction/walk.cpp @@ -446,6 +446,23 @@ void initWalk() { _buffer = (byte*)malloc(SCREENPATH_WIDTH * SCREEN_HEIGHT); } + +WalkNode::WalkNode() : _x(0), _y(0) { +} + +WalkNode::WalkNode(int32 x, int32 y) : _x(x), _y(y) { +} + +WalkNode::WalkNode(const WalkNode& w) : _x(w._x), _y(w._y) { +} + +void WalkNode::getPoint(Common::Point &p) const { + p.x = _x; + p.y = _y; +} + + + } // namespace Parallaction |