Pathfinding manager will now return path steps in pixel units by default

This commit is contained in:
Hanusiak Piotr 2022-01-19 12:30:08 +01:00
parent f96eac4737
commit f78392ceab
7 changed files with 50 additions and 45 deletions

View file

@ -1,11 +0,0 @@
import * as tg from "generic-type-guard";
export const isWalkPlayerToEventConfig = new tg.IsInterface()
.withProperties({
x: tg.isNumber,
y: tg.isNumber,
speed: tg.isNumber,
})
.get();
export type WalkPlayerToEvent = tg.GuardedType<typeof isWalkPlayerToEventConfig>;