optional following path movement speed

This commit is contained in:
Hanusiak Piotr 2022-01-19 13:53:06 +01:00
parent 9b94705177
commit c023c4f8fd
5 changed files with 30 additions and 8 deletions

View file

@ -4,7 +4,7 @@ export const isMovePlayerToEventConfig = new tg.IsInterface()
.withProperties({
x: tg.isNumber,
y: tg.isNumber,
speed: tg.isNumber,
speed: tg.isOptional(tg.isNumber),
})
.get();