1 /* This file is part of the Spring engine (GPL v2 or later), see LICENSE.html */ 2 3 #ifndef ALLY_TEAM_H 4 #define ALLY_TEAM_H 5 6 #include <string> 7 #include <map> 8 #include <vector> 9 #include "System/creg/creg_cond.h" 10 11 12 class AllyTeam 13 { 14 CR_DECLARE_STRUCT(AllyTeam) 15 16 public: 17 AllyTeam(); 18 19 typedef std::map<std::string, std::string> customOpts; 20 void SetValue(const std::string& key, const std::string& value); GetAllValues()21 const customOpts& GetAllValues() const 22 { 23 return customValues; 24 }; 25 26 float startRectTop; 27 float startRectBottom; 28 float startRectLeft; 29 float startRectRight; 30 std::vector<bool> allies; 31 32 private: 33 customOpts customValues; 34 }; 35 36 #endif 37