- began doxygening headers
- fixed entity name reading
- fixed entity sprites
+
+12/8/2015:
+==========
+
+ - continued to document header files through doxygen
+ - added border to dialogBox
+ - fix entity movement handling; npcs stop when you talk to them
+ - added sword animation?
*/
for(auto &e : entity){
- if(e->type != STRUCTURET){
- if(e->canMove)
- e->loc.x += e->vel.x * delta;
- e->loc.y += e->vel.y * delta;
+ e->loc.y += e->vel.y * delta;
+ if(e->type != STRUCTURET && e->canMove){
+ e->loc.x += e->vel.x * delta;
if(e->vel.x < 0)e->left = true;
else if(e->vel.x > 0)e->left = false;
}