1
0
forked from noxious/server

Path walk improvements

This commit is contained in:
2024-11-13 17:02:16 +01:00
parent fee4277b4f
commit bf7f585270
3 changed files with 19 additions and 13 deletions

View File

@ -4,6 +4,7 @@ import prisma from '../utilities/prisma'
class ZoneCharacter {
public readonly character: Character
public isMoving: boolean = false
public currentPath: Array<{ x: number; y: number }> | null = null;
constructor(character: Character) {
this.character = character