epr24pr3_ojanssen2_dummed_d.../PositionVector.cpp

17 lines
258 B
C++
Raw Normal View History

#include "PositionVector.h"
namespace game
{
PositionVector::PositionVector(const int x, const int y)
{
this->x = x;
this->y = y;
}
void PositionVector::update(const int& x, const int& y)
{
this->x = x;
this->y = y;
}
} // game