move the remaining hotkeys into the InputMapper
This commit is contained in:
13
src/lib/eventsystem/event/GhostRotationRequestedEvent.h
Normal file
13
src/lib/eventsystem/event/GhostRotationRequestedEvent.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include "Event.h"
|
||||
|
||||
// The player asked to rotate the placement ghost (REQ-BLD-ROTATE, REQ-UI-HOTKEYS).
|
||||
// Sent whether or not a builder or blueprint mode is actually active; deciding
|
||||
// there is nothing to rotate is the receiver's job.
|
||||
class GhostRotationRequestedEvent : public Event
|
||||
{
|
||||
public:
|
||||
explicit GhostRotationRequestedEvent(bool clockwise) : clockwise(clockwise) {}
|
||||
const bool clockwise;
|
||||
};
|
||||
Reference in New Issue
Block a user