summaryrefslogtreecommitdiffstats
path: root/labb4/GameState.h
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2020-11-10 00:57:06 +0100
committerGustav Sörnäs <gustav@sornas.net>2020-11-10 00:57:06 +0100
commitfc151ff1e1c862f5b40dc028c293ce083695d78c (patch)
tree54e0e3f435f500ff0cbf0088b3a61ef642b2e919 /labb4/GameState.h
parentb92072fc45676f9fe4669905f38a2aa3d6b92c4d (diff)
downloadtddd86-fc151ff1e1c862f5b40dc028c293ce083695d78c.tar.gz
gamestate cc, polymorphic clone
Diffstat (limited to 'labb4/GameState.h')
-rw-r--r--labb4/GameState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/labb4/GameState.h b/labb4/GameState.h
index d31758d..7466308 100644
--- a/labb4/GameState.h
+++ b/labb4/GameState.h
@@ -22,6 +22,8 @@ public:
GameState();
GameState(int numberOfRobots);
+ GameState(const GameState &);
+
/*
* Clear and redraw entire playing field
*/