]> git.tdb.fi Git - r2c2.git/blob - source/designer/rotatetool.h
Don't crash if a train has no router
[r2c2.git] / source / designer / rotatetool.h
1 #ifndef ROTATETOOL_H_
2 #define ROTATETOOL_H_
3
4 #include "manipulator.h"
5
6 class RotateTool: public Manipulator
7 {
8 private:
9         R2C2::Angle origin;
10         R2C2::Angle angle;
11
12 public:
13         RotateTool(Designer &, Msp::Input::Keyboard &, Msp::Input::Mouse &, const std::set<R2C2::Object *> &);
14
15         virtual void pointer_motion();
16 };
17
18 #endif