Right the wrongs
This commit is contained in:
parent
a61da5ab80
commit
25394c4cdd
|
@ -71,11 +71,11 @@ constexpr GridPosition ghostSprite(Ghost ghost, Direction direction, bool altern
|
||||||
return { x, y };
|
return { x, y };
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr GridPosition initialFrightened(int animationIndex) {
|
constexpr GridPosition initialFrightened(std::size_t animationIndex) {
|
||||||
return (animationIndex % 2) == 0 ? Atlas::ghost_blue_frightened2 : Atlas::ghost_blue_frightened;
|
return (animationIndex % 2) == 0 ? Atlas::ghost_blue_frightened2 : Atlas::ghost_blue_frightened;
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr GridPosition endingFrightened(int animationIndex) {
|
constexpr GridPosition endingFrightened(std::size_t animationIndex) {
|
||||||
std::array<GridPosition, 4> positions = { Atlas::ghost_blue_frightened,
|
std::array<GridPosition, 4> positions = { Atlas::ghost_blue_frightened,
|
||||||
Atlas::ghost_blue_frightened2,
|
Atlas::ghost_blue_frightened2,
|
||||||
Atlas::ghost_white_frightened,
|
Atlas::ghost_white_frightened,
|
||||||
|
|
Loading…
Reference in New Issue