epr24pr3_ojanssen2/PositionVector.cpp

20 lines
299 B
C++

//
// Created by moonleay on 12/12/24.
//
#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