# | Line 13 | Line 13 | class RenegadeConfig | |
---|---|---|
13 | { | |
14 | private: | |
15 | string file; | |
16 | < | string text; |
16 | > | strstream text; |
17 | > | vector<string> maps; |
18 | public: | |
19 | < | RenegadeConfig(const string& file) { this->file = file; } |
19 | > | RenegadeConfig(const string& file) { this->file = "data/" + file; } |
20 | ~RenegadeConfig() {} | |
21 | bool load(); | |
22 | < | bool save(); |
22 | > | void save(); |
23 | > | vector<string>& getMaps() { return maps; } |
24 | > | void setMaps(vector<string>& maps) { this->maps = maps; } |
25 | }; | |
26 | ||
27 | #endif // _RenegadeConfig_h_ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |