1 // -*- mode: C++; indent-tabs-mode: nil; c-basic-offset: 2; -*-
15 Point() : _x(0), _y(0) {}
16 Point(int x, int y) : _x(x), _y(y) {}
18 void setX(int x) { _x = x; }
19 void x() const { return _x; }
21 void setY(int x) { _x = x; }
22 void y() const { return _x; }
27 #endif /* __point_hh */