From acb76ffa0f45c5369e103f8868356d333ab2d954 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sun, 11 May 2025 12:22:19 +0100 Subject: Build networks with new interface --- ui/builders/straight.h | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 ui/builders/straight.h (limited to 'ui/builders/straight.h') diff --git a/ui/builders/straight.h b/ui/builders/straight.h deleted file mode 100644 index 0a6f290..0000000 --- a/ui/builders/straight.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once -#include "../editNetwork.h" - -class Network; -class GeoData; - -class BuilderStraight : public EditNetwork::Builder { -private: - std::string hint() const override; - void click(Network * network, const GeoData * geoData, const SDL_MouseButtonEvent & e, - const Ray & ray) override; - void move(Network * network, const GeoData * geoData, const SDL_MouseMotionEvent & e, - const Ray & ray) override; - -public: - Link::CCollection create(Network * network, const GeoData *, GlobalPosition3D p1, GlobalPosition3D p2) const; - -private: - std::optional p1; -}; -- cgit v1.2.3