pushing local
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user