La simu multi-agents qui repeint une image, mais en c++ Boilerplate pompé ici : https://github.com/andrew-r-king/sfml-vscode-boilerplate
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Perception.hpp 291B

123456789101112131415
  1. #ifndef PERCEPTION_H
  2. #define PERCEPTION_H
  3. class Perception
  4. { // The class
  5. public: // Access specifier
  6. int fWidth; // Attribute (int variable)
  7. int fHeight; // Attribute
  8. std::vector<bool> fMovements;
  9. Perception();
  10. Perception(int iWidth, int iHeight);
  11. };
  12. #endif // PERCEPTION_H