diff options
Diffstat (limited to 'ui/editNetwork.h')
-rw-r--r-- | ui/editNetwork.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/editNetwork.h b/ui/editNetwork.h index ae887bd..805e7ec 100644 --- a/ui/editNetwork.h +++ b/ui/editNetwork.h @@ -2,7 +2,6 @@ #include "game/geoData.h" #include "gameMainSelector.h" -#include "modeHelper.h" #include "toolbar.h" #include "worldOverlay.h" #include <game/gamestate.h> @@ -19,7 +18,7 @@ public: bool move(const SDL_MouseMotionEvent & e, const Ray<GlobalPosition3D> &) override; bool handleInput(const SDL_Event & e, const UIComponent::Position &) override; void render(const SceneShader &, const Frustum &) const override; - void render(const UIShader & shader, const UIComponent::Position & pos) const override; + void render(const UIShader & shader, const UIComponent::Position & pos) override; using NetworkClickPos = std::variant<GlobalPosition3D, Node::Ptr>; @@ -42,8 +41,6 @@ public: private: Network * network; Builder::Ptr builder; - Mode<Builder::Ptr, ModeSecondClick::NoAction> mode {builder}; - Toolbar builderToolbar; Texture blue; const Font font; }; |