pushing local

This commit is contained in:
Chris Punches
2017-06-18 10:39:46 -04:00
parent 36f34469fb
commit c8b0872993
10 changed files with 51 additions and 35 deletions

View File

@@ -9,15 +9,18 @@
class Suite: public JSON_Loader
{
private:
// storage for the definitions we are amassing from the unit definition files
std::vector<Unit> units;
public:
// constructor
Suite( std::string filename );
// constructor, empty
Suite();
int load_file( std::string filename );
// returns the unit type identified by name or null
Unit get_unit(std::string provided_name);
// load a unit definitions file and add valid unit definitions to this->units
void load_units_file( std::string filename );
// returns the unit identified by name
void get_unit(Unit & result, std::string provided_name);
};
#endif //FTESTS_UNITS_H