16 lines
258 B
C++
16 lines
258 B
C++
#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
|