make devices movable
This commit is contained in:
parent
7465b18ae8
commit
c169fab420
5 changed files with 50 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue