Directories
¶
| Path | Synopsis |
|---|---|
|
Package board lays a square or hex grid over the game world, with per-cell terrain (passability, movement cost, sprite) and occupancy tracking.
|
Package board lays a square or hex grid over the game world, with per-cell terrain (passability, movement cost, sprite) and occupancy tracking. |
|
Package collision detects overlaps between world entities each tick and records what each struck on its Collider.
|
Package collision detects overlaps between world entities each tick and records what each struck on its Collider. |
|
behavior
Package behavior holds ready-made reactions to contacts, each a plain function handed to plugin.Between or plugin.Each: CountContacts for telemetry, ShowHits with HitOverlay to keep a hit visible, LogContacts to write a line per contact.
|
Package behavior holds ready-made reactions to contacts, each a plain function handed to plugin.Between or plugin.Each: CountContacts for telemetry, ShowHits with HitOverlay to keep a hit visible, LogContacts to write a line per contact. |
|
Package navigation moves entities along a MoveOrder's path across a board, re-pathing automatically when terrain along the route changes.
|
Package navigation moves entities along a MoveOrder's path across a board, re-pathing automatically when terrain along the route changes. |
|
Package selection turns mouse input into a Selected tag on world entities: left-click to select, drag for a marquee, shift to add.
|
Package selection turns mouse input into a Selected tag on world entities: left-click to select, drag for a marquee, shift to add. |
|
Package vision gives entities a narrowed view of the world: a Sight cone sees what falls inside it, within range and not hidden behind something nearer.
|
Package vision gives entities a narrowed view of the world: a Sight cone sees what falls inside it, within range and not hidden behind something nearer. |
|
behavior
Package behavior holds ready-made reactions to what an entity sees, each a plain function of a vision.Sighting handed to plugin.Between: Flee gives way to what is on a collision course and runs from a Threat, Chase goes after the nearest and searches when it sees none.
|
Package behavior holds ready-made reactions to what an entity sees, each a plain function of a vision.Sighting handed to plugin.Between: Flee gives way to what is on a collision course and runs from a Threat, Chase goes after the nearest and searches when it sees none. |
|
Package world is the foundation for a Stage with moving, drawable entities: a Position and Velocity each, a shared spatial index other plugins query, and motion integrated each tick, never further than Position.MaxStep.
|
Package world is the foundation for a Stage with moving, drawable entities: a Position and Velocity each, a shared spatial index other plugins query, and motion integrated each tick, never further than Position.MaxStep. |
|
kind
Package kind is how a game says what its entities are.
|
Package kind is how a game says what its entities are. |
Click to show internal directories.
Click to hide internal directories.