16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 02:29:19 +02:00

key binding lookup, ai vehicle activation delay

This commit is contained in:
tmj-fstate
2020-02-23 03:43:05 +01:00
parent fcc8460d88
commit 4e9eabbcfe
12 changed files with 73 additions and 28 deletions

View File

@@ -45,8 +45,10 @@ public:
user_command const
command() const {
return m_command; }
int
binding( user_command const Command ) const;
std::string
mapping( user_command const Command ) const;
binding_hint( user_command const Command ) const;
protected:
// types
@@ -92,8 +94,6 @@ private:
};
// methods
int
binding( user_command const Command ) const;
bool
is_movement_key( int const Key ) const;