PacMan size is an integer
This commit is contained in:
parent
f7b53d9fca
commit
138f2df152
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ void PacMan::updateMazePosition(std::chrono::milliseconds time_delta, const Boar
|
||||||
}
|
}
|
||||||
|
|
||||||
const double position_delta = 0.004 * time_delta.count();
|
const double position_delta = 0.004 * time_delta.count();
|
||||||
const auto pacman_size = 1.0;
|
const auto pacman_size = 1;
|
||||||
|
|
||||||
auto moveToPosition = [&](Position point, Direction move_direction) {
|
auto moveToPosition = [&](Position point, Direction move_direction) {
|
||||||
switch (move_direction) {
|
switch (move_direction) {
|
||||||
|
|
Loading…
Reference in a new issue