diff options
author | tom <tom@ground-control> | 2015-05-08 16:16:59 -0500 |
---|---|---|
committer | tom <tom@ground-control> | 2015-05-08 16:16:59 -0500 |
commit | 83d23230a3d71d76ee5e0368e071273beaa6d1b4 (patch) | |
tree | d617951e5d897ab79efdc061d541c860c2569fd5 /inc | |
parent | ef2d82b47654dff444263ae149aec0d416a4f405 (diff) |
death now works properly
Diffstat (limited to 'inc')
-rw-r--r-- | inc/list.hpp | 2 | ||||
-rw-r--r-- | inc/window.hpp | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/inc/list.hpp b/inc/list.hpp index dc5c412..f370d24 100644 --- a/inc/list.hpp +++ b/inc/list.hpp @@ -16,7 +16,7 @@ class List private: //vectors containing objects of each type - Window * main;//will be needed for adding R's and C's after constructor. + Window main = Window("no");//will be needed for adding R's and C's after constructor. std::vector<Resource> R; std::vector<Creature> C; std::vector<Location> L; diff --git a/inc/window.hpp b/inc/window.hpp index d3436d8..073a106 100644 --- a/inc/window.hpp +++ b/inc/window.hpp @@ -17,6 +17,7 @@ class Window { public: Window(); + Window(std::string){}; void Destroy(); void Clear(); |