22 lines
392 B
C++
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
|