Open Lecrapouille opened 1 year ago
Shall be moved to render.cpp or in simulator.cpp ?
Idee
template<class T> class Drawable {}; template<> class Drawable<City>(City& city) { public: Drawable(City& city) : m_city(city) {} void draw() { ... } private: City& m_city; };
Shall be moved to render.cpp or in simulator.cpp ?