/*__________________________________
 * objet point
 * par Martin Robinson
 * _________________________________
 * preprocesseur
*/

#include "point.hpp"

/*__________________________________
 * methode
 */

//constructer
point::point()
{
    _x = _y = 0;
}

point::point(int x, int y)
{
    _x = x;
    _y = y;
}
//destructeur
point::~point()
{
    _x = _y = 0;
}
//getter
int point::getX()const
{
    return _x;
}

int point::getY()const
{
    return _y;
}

//setter
void point::setX(int x)
{
    _x = x;
}

void point::setY(int y)
{
    _y = y;
}
