X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2FEntities%2FEntity.cpp;h=5365bcc98a902faee11e4618149cdde55760f4e9;hb=2c18685d7e87c72562bdbeb01b7372748d9927a3;hp=462fcd01c135a85e21f946d81d23b182ef849381;hpb=33b8c69b7b2e8d3f31124130a503ec2179c4969c;p=physics.git diff --git a/src/Entities/Entity.cpp b/src/Entities/Entity.cpp index 462fcd0..5365bcc 100644 --- a/src/Entities/Entity.cpp +++ b/src/Entities/Entity.cpp @@ -5,6 +5,15 @@ /// ***** Public Class Methods ***** +const Vector2& Entity::positionRaw() const +{ + return position; +} +const Vector2& Entity::velocityRaw() const +{ + return velocity; +} + Entity::Entity(const Vector2& pos) : position(pos), velocity(0,0) {