ADD: added function for calculation the movement with gegraphiclib
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user