correction from code review
This commit is contained in:
parent
d4bc999c54
commit
a5cb93541a
10 changed files with 58 additions and 161 deletions
|
@ -4,7 +4,7 @@ import * as tg from "generic-type-guard";
|
|||
|
||||
export const isHasPlayerMovedEvent =
|
||||
new tg.IsInterface().withProperties({
|
||||
direction: tg.isString,
|
||||
direction: tg.isElementOf('right', 'left', 'up', 'down'),
|
||||
moving: tg.isBoolean,
|
||||
x: tg.isNumber,
|
||||
y: tg.isNumber
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue