renamed libpg to libbear
[physics.git] / src / Entities / PhysicsEntity.cpp
index 9daff3a..060ef62 100644 (file)
  */
 
 #include "PhysicsEntity.h"
-#include "debug.h"
+
+#include <bear/debug.h>
+#include <bear/Vector2.h>
+using namespace bear;
 
 #include "effectManager.h"
-#include "Vector2.h"
 
 
 /// ***** Constructors/Destructors *****
@@ -85,3 +87,8 @@ void PhysicsEntity::applyImpulse(const Vector2& impulse, const Vector2& at)
 {
     velocity += impulse;
 }
+
+void PhysicsEntity::applyNudge(const Vector2& vecPush)
+{
+    position += vecPush;
+}