1
0
forked from noxious/server

Slightly altered movement delay

This commit is contained in:
2025-02-01 02:31:43 +01:00
parent 3b6c11090f
commit a5ca524bb4
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ type Position = { positionX: number; positionY: number }
export type Node = Position & { parent?: Node; g: number; h: number; f: number }
class CharacterService extends BaseService {
private readonly MOVEMENT_DELAY_MS = 250
private readonly MOVEMENT_DELAY_MS = 260
private readonly DIRECTIONS = [
{ x: 0, y: -1 }, // Up
{ x: 0, y: 1 }, // Down