diff options
Diffstat (limited to 'include/world.h')
-rw-r--r-- | include/world.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/world.h b/include/world.h index 57ea091..952c2e5 100644 --- a/include/world.h +++ b/include/world.h @@ -118,7 +118,7 @@ public: */ World(void); - ~World(void); // Frees the 'line' array. + virtual ~World(void); // Frees the 'line' array. /* * Generate a world of width `width`. This function is virtual so that other world @@ -183,6 +183,8 @@ public: int getTheWidth(void); + void save(FILE *); + void load(FILE *); }; /* |