epr24pr3_ojanssen2_dummed_d.../PositionVector.cpp

22 lines
392 B
C++

//
// Created by moonleay on 12/12/24.
//
#include "PositionVector.h"
namespace game
{
PositionVector::PositionVector(const int x, const int y)
{
// Setze die Werte des PositionVectors
this->x = x;
this->y = y;
}
void PositionVector::update(const int x, const int y)
{
// Aktualisiere die Werte des PositionVectors
this->x = x;
this->y = y;
}
} // game