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

Fix minor EBN issues

parent ab9ada2f
...@@ -44,7 +44,7 @@ class KTron : public KXmlGuiWindow { ...@@ -44,7 +44,7 @@ class KTron : public KXmlGuiWindow {
Q_OBJECT Q_OBJECT
public: public:
KTron(QWidget *parent=nullptr); explicit KTron(QWidget *parent=nullptr);
~KTron(); ~KTron();
private: private:
......
...@@ -42,7 +42,7 @@ class Object ...@@ -42,7 +42,7 @@ class Object
{ {
public: public:
Object(); Object();
Object(ObjectType::Type t); explicit Object(ObjectType::Type t);
int getX() const; int getX() const;
int getY() const; int getY() const;
void setCoordinates(int x, int y); void setCoordinates(int x, int y);
......
...@@ -44,7 +44,7 @@ namespace SnakePartType { ...@@ -44,7 +44,7 @@ namespace SnakePartType {
class SnakePart : public Object class SnakePart : public Object
{ {
public: public:
SnakePart(int playerNumber); explicit SnakePart(int playerNumber);
int getPlayerNumber(); int getPlayerNumber();
SnakePartType::Types getPartType() const; SnakePartType::Types getPartType() const;
void setPartType(SnakePartType::Types type); 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