Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef CONFIGURATION_H_INCLUDED
- #define CONFIGURATION_H_INCLUDED
- #include <vector>
- #include <string>
- struct CardType
- {
- std::string name;
- unsigned count, inputs, outputs;
- bool sun_required, sun_provided;
- bool shade_required, shade_provided;
- bool wind_required, wind_provided;
- bool shelter_required, shelter_provided;
- };
- struct Configuration
- {
- unsigned board_height, board_width, home_row, home_col;
- std::vector<CardType> card_types;
- };
- Configuration read_configuration() throw (const char *);
- #endif /* ndef CONFIG_H_INCLUDED */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement