move the remaining hotkeys into the InputMapper
This commit is contained in:
14
src/lib/eventsystem/event/SpeedStepRequestedEvent.h
Normal file
14
src/lib/eventsystem/event/SpeedStepRequestedEvent.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include "Event.h"
|
||||
|
||||
// The player asked to step the game speed one notch (REQ-UI-HOTKEYS): +1 faster,
|
||||
// -1 slower. A relative step rather than a target speed, because the ladder of
|
||||
// available speeds belongs to the receiver — contrast SpeedChangeRequestedEvent,
|
||||
// which names an absolute multiplier and is what the speed buttons send.
|
||||
class SpeedStepRequestedEvent : public Event
|
||||
{
|
||||
public:
|
||||
explicit SpeedStepRequestedEvent(int delta) : delta(delta) {}
|
||||
const int delta;
|
||||
};
|
||||
Reference in New Issue
Block a user