DecayKnowledgebase
functiongenerated

Grid.step_toward

Moves a character one cell along the shortest walkable path towards a target. Gives back whether it moved.

Signature

Grid.step_toward(mover: Entity, grid: Entity, target: Entity) -> bool

Member of Grid

Related types

Entity

Source
docs/generated/decay-api.json
Schema
v1
Engine version
0.1.0
Source commit
909aca81368b