make devices movable

This commit is contained in:
Robert 2023-06-30 20:36:21 +02:00
parent 7465b18ae8
commit c169fab420
5 changed files with 50 additions and 1 deletions

View file

@ -11,6 +11,8 @@ public:
void AddDevice(std::shared_ptr<Device> device, uint16_t x, uint16_t y);
void Render(SDL_Renderer* renderer) const;
void PropagateEvent(SDL_Event* event);
private:
Network& network;
std::vector<DeviceRenderer> devices;