Remove unnecessary explicits
This commit is contained in:
parent
8f396d0545
commit
cce98514a7
4 changed files with 4 additions and 4 deletions
|
@ -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:
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue