aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/defs.h
diff options
context:
space:
mode:
authorNicola Mettifogo2007-03-18 17:03:07 +0000
committerNicola Mettifogo2007-03-18 17:03:07 +0000
commitff5ec6462e20760be24f04dd37070e1423911192 (patch)
tree893612480ebb41611bd97fb7eab7756096b08438 /engines/parallaction/defs.h
parentedd4e73787da08966b9d6453f16c96a8964c592d (diff)
downloadscummvm-rg350-ff5ec6462e20760be24f04dd37070e1423911192.tar.gz
scummvm-rg350-ff5ec6462e20760be24f04dd37070e1423911192.tar.bz2
scummvm-rg350-ff5ec6462e20760be24f04dd37070e1423911192.zip
converted walk routines to use Common::Point
svn-id: r26213
Diffstat (limited to 'engines/parallaction/defs.h')
-rw-r--r--engines/parallaction/defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/parallaction/defs.h b/engines/parallaction/defs.h
index f2005bc8db..d58dbd64b4 100644
--- a/engines/parallaction/defs.h
+++ b/engines/parallaction/defs.h
@@ -48,6 +48,11 @@ public:
WalkNode(int32 x, int32 y) : _x(x), _y(y) {
}
+
+ void getPoint(Common::Point &p) const {
+ p.x = _x;
+ p.y = _y;
+ }
};
struct Point {