1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef PLAYER_H #define PLAYER_H #include <vector> class Player { public: Player (int r, int g, int b) : r(r), g(g), b(b) { } std::vector<int> res { 0, 0 }; std::vector<int> techs; int level { 0 }; int r, g, b; }; #endif