summaryrefslogtreecommitdiff
path: root/ui/builders/freeExtend.h
blob: 127fdc67a5db5cbd7bfc34bf2d5a9c0f9d5fd567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once
#include "../editNetwork.h"

class Network;
class GeoData;

class BuilderFreeExtend : public EditNetwork::Builder {
	std::string hint() const override;
	void click(Network * network, const GeoData * geoData, const SDL_MouseButtonEvent & e,
			const Ray<GlobalPosition3D> & ray) override;
	void move(Network * network, const GeoData * geoData, const SDL_MouseMotionEvent & e,
			const Ray<GlobalPosition3D> & ray) override;

	std::optional<Position3D> p1;
};