ADD: added function for calculation the movement with gegraphiclib

This commit is contained in:
hwinkel
2023-05-27 20:35:22 +02:00
parent 69584c5a25
commit 88d64be7a2
5 changed files with 14 additions and 4 deletions

View File

@@ -68,7 +68,7 @@ namespace Entities {
virtual void specificPhysicsCalculations(std::chrono::milliseconds::rep duration) = 0;
virtual void specificReloadCharacteristicts() = 0;
Entities::Movement Movement_;
std::unique_ptr<Entities::Movement> Movement_;
private:

View File

@@ -36,6 +36,8 @@ namespace Entities
void updatePosition(double dt);
void updatePositionSimple(double dt);
/**
* @brief returns the current Course representing the direction the front of the entity is pointing