Parent Directory | Revision Log | Patch
revision 1.12 by reallysoft, Mon May 19 12:14:35 2003 UTC | revision 1.13 by reallysoft, Sat May 31 10:02:22 2003 UTC | |
---|---|---|
# | Line 186 namespace enigma | Line 186 namespace enigma |
186 | ||
187 | void move(Direction dir); | void move(Direction dir); |
188 | bool operator==(GridPos b) const { return (x==b.x && y==b.y); } | bool operator==(GridPos b) const { return (x==b.x && y==b.y); } |
189 | bool operator!=(GridPos b) const { return (x!=b.x || y!=b.y); } | bool operator != (GridPos b) const { return (x!=b.x || y!=b.y); } |
190 | ||
191 | px::V2 center() const { return px::V2(x+.5, y+.5); } | |
192 | }; | }; |
193 | ||
194 | inline void GridPos::move(Direction dir) { | inline void GridPos::move(Direction dir) { |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |