11 lines
159 B
Plaintext
11 lines
159 B
Plaintext
import "input" for Keyboard
|
|
|
|
class Controls {
|
|
construct new() {
|
|
|
|
}
|
|
|
|
static detect(keyCode) {
|
|
return Keyboard.isKeyDown(keyCode)
|
|
}
|
|
} |