summaryrefslogtreecommitdiff
path: root/ui/editNetwork.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-01-18 02:07:33 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-01-18 02:07:33 +0000
commit917b3049a10dcc41d6d02f332e81b5dd05aff33d (patch)
treec97c3d9417246233d190567afca1e3473367426d /ui/editNetwork.h
parentCollection::removeAll returns how many matched by type (diff)
downloadilt-917b3049a10dcc41d6d02f332e81b5dd05aff33d.tar.bz2
ilt-917b3049a10dcc41d6d02f332e81b5dd05aff33d.tar.xz
ilt-917b3049a10dcc41d6d02f332e81b5dd05aff33d.zip
Beginnings of network editor
Pushes gameMainSelector clicks/moves into a different target
Diffstat (limited to 'ui/editNetwork.h')
-rw-r--r--ui/editNetwork.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ui/editNetwork.h b/ui/editNetwork.h
new file mode 100644
index 0000000..0a27609
--- /dev/null
+++ b/ui/editNetwork.h
@@ -0,0 +1,12 @@
+#pragma once
+
+#include "gameMainSelector.h"
+
+class Ray;
+
+class EditNetwork : public GameMainSelector::ClickReceiver {
+public:
+ void click(const Ray &) override;
+ void move(const Ray &) override;
+ bool handleMove() override;
+};