25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 

25 satır
422 B

  1. #pragma once
  2. #include "config.h"
  3. #include "object.h"
  4. #include <iostream>
  5. #include <list>
  6. #include <vector>
  7. class World {
  8. size_t m_height, m_width;
  9. std::vector<std::vector<char>> m_c;
  10. std::list<Object> m_objects;
  11. public:
  12. World();
  13. void init();
  14. Object &createObject(Object &&);
  15. void draw(Object &o);
  16. void update();
  17. void print(std::ostream &out);
  18. void destroy();
  19. ~World();
  20. };