Commit 5206e3d0 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor EBN issues

parent ab9ada2f
......@@ -44,7 +44,7 @@ class KTron : public KXmlGuiWindow {
Q_OBJECT
public:
KTron(QWidget *parent=nullptr);
explicit KTron(QWidget *parent=nullptr);
~KTron();
private:
......
......@@ -42,7 +42,7 @@ class Object
{
public:
Object();
Object(ObjectType::Type t);
explicit Object(ObjectType::Type t);
int getX() const;
int getY() const;
void setCoordinates(int x, int y);
......
......@@ -44,7 +44,7 @@ namespace SnakePartType {
class SnakePart : public Object
{
public:
SnakePart(int playerNumber);
explicit SnakePart(int playerNumber);
int getPlayerNumber();
SnakePartType::Types getPartType() const;
void setPartType(SnakePartType::Types type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment