removing window struct
This commit is contained in:
+2
-7
@@ -3,12 +3,6 @@
|
||||
#include <array>
|
||||
#include <string>
|
||||
|
||||
struct Window {
|
||||
Window();
|
||||
std::array<char, 9> view;
|
||||
void draw_display() const;
|
||||
};
|
||||
|
||||
class Engine {
|
||||
public:
|
||||
Engine();
|
||||
@@ -17,7 +11,8 @@ public:
|
||||
|
||||
private:
|
||||
std::string status;
|
||||
Window win;
|
||||
std::array<char, 9> view;
|
||||
void draw_display() const;
|
||||
char p1 { 'x' };
|
||||
char p2 { 'o' };
|
||||
char temp { p1 };
|
||||
|
||||
Reference in New Issue
Block a user