diff --git a/source/Game.h b/source/Game.h index fbf5953..f7d349b 100644 --- a/source/Game.h +++ b/source/Game.h @@ -16,7 +16,8 @@ class Player; class World; /* - * Use vertex for tiles. + * High level game managing, including game loop, input, high + * level rendering, and general class handling */ class Game : private sf::NonCopyable { public: diff --git a/source/sprites/Player.cpp b/source/sprites/Player.cpp index d95d9ec..cbfcf4a 100644 --- a/source/sprites/Player.cpp +++ b/source/sprites/Player.cpp @@ -60,7 +60,7 @@ Player::setDirection(Direction direction, bool unset) { // Convert directions into a vector. sf::Vector2f dirVec(0, 0); - if (mDirection & Direction::RIGHT) { + if (mDirection & Direction::RIGHT) dirVec.x += 1.0f; if (mDirection & Direction::LEFT) dirVec.x += - 1.0f;