mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-21 06:05:45 +08:00
Refactoring
This commit is contained in:
16
js/entity/KeyBinding.js
Executable file
16
js/entity/KeyBinding.js
Executable file
@@ -0,0 +1,16 @@
|
||||
import Entity from "./Entity"
|
||||
|
||||
export default class KeyBinding extends Entity {
|
||||
|
||||
static attributes = {
|
||||
bCtrlDown: false,
|
||||
bAltDown: false,
|
||||
bShiftDown: false,
|
||||
Key: String,
|
||||
CommandName: String,
|
||||
}
|
||||
|
||||
getAttributes() {
|
||||
return KeyBinding.attributes
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user