Remove unnecessary explicits

This commit is contained in:
Patricia Aas 2021-10-14 12:31:45 +02:00
parent 8f396d0545
commit cce98514a7
4 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@ namespace pacman {
class Inky final : public Ghost { class Inky final : public Ghost {
public: public:
explicit Inky(); Inky();
void setTarget(GridPosition pacManPos, Direction pacManDir, GridPosition blinkyPos); void setTarget(GridPosition pacManPos, Direction pacManDir, GridPosition blinkyPos);
protected: protected:

View file

@ -7,7 +7,7 @@ namespace pacman {
class Pellets { class Pellets {
public: public:
explicit Pellets(); Pellets();
GridPosition currentSprite() const { GridPosition currentSprite() const {
return sprite; return sprite;

View file

@ -6,7 +6,7 @@ namespace pacman {
class Pinky final : public Ghost { class Pinky final : public Ghost {
public: public:
explicit Pinky(); Pinky();
void setTarget(GridPosition pacManPos, Direction pacManDir); void setTarget(GridPosition pacManPos, Direction pacManDir);
protected: protected:

View file

@ -7,7 +7,7 @@ namespace pacman {
class SuperPellets { class SuperPellets {
public: public:
explicit SuperPellets(); SuperPellets();
GridPosition currentSprite() const { GridPosition currentSprite() const {
return sprite; return sprite;