forked from noxious/server
Slightly altered movement delay
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user