[game] Walk controls (unbound)
This commit is contained in:
parent
895098e17f
commit
c934914ac5
3 changed files with 97 additions and 4 deletions
11
src/input.ts
Normal file
11
src/input.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
export const Button = {
|
||||
Up: 0,
|
||||
Down: 1,
|
||||
Left: 2,
|
||||
Right: 3,
|
||||
} as const;
|
||||
type Button = (typeof Button)[keyof typeof Button];
|
||||
|
||||
export function btn(_which: Button): boolean {
|
||||
return false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue