1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
#ifndef list_h #define list_h #include "creature.hpp" #include "resource.hpp" #include "window.hpp" class List { public: List(Window m); void Behavior(); private: std::vector<Resource> R; std::vector<Creature> C; Window main; int ** L; }; #endif