diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2017-06-25 02:53:14 +0200 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2017-06-25 02:53:14 +0200 |
commit | 21ec35461b30a417201415370cf07ca13273a0df (patch) | |
tree | 04c796d08433b10d01feae9afae80301914869fd /Player.cpp | |
parent | 65bbf60e913cc148bd0d36aaf08c26374d08e942 (diff) |
Diffstat (limited to 'Player.cpp')
-rw-r--r-- | Player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48,8 +48,8 @@ std::vector<Coordinates> Player::move() { cases.push_back(Coordinates(m_currentCoordinates.x+i*sgn_x, m_currentCoordinates.y+j*sgn_y));
}
}
- m_currentCoordinates.x += m_velocityVector.x;
- m_currentCoordinates.y += m_velocityVector.y;
+ m_currentCoordinates.x += m_velocityVector.x;
+ m_currentCoordinates.y += m_velocityVector.y;
return(cases);
}
|