summaryrefslogtreecommitdiffstats
path: root/labb4/GameState.h
diff options
context:
space:
mode:
Diffstat (limited to 'labb4/GameState.h')
-rw-r--r--labb4/GameState.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/labb4/GameState.h b/labb4/GameState.h
index 331dcb7..ac749bb 100644
--- a/labb4/GameState.h
+++ b/labb4/GameState.h
@@ -21,7 +21,10 @@ class GameState {
public:
GameState();
GameState(int numberOfRobots);
- GameState(const GameState &);
+ GameState(const GameState &other);
+ ~GameState();
+
+ GameState &operator=(const GameState &other);
/*
* Clear and redraw entire playing field