Expand description
Core overworld type definitions for a JRPG engine.
These types define the foundational data structures for the overworld
map system, player movement, NPCs, and map data. All types are generic
over their game-specific identifiers using the MapTrait and
TilesetTrait trait bounds.
Structs§
- MapConnection
- A single map connection (e.g., north exit leads to Route 1).
- MapConnections
- All connections for a map (up to one per cardinal direction).
- MapData
- Complete runtime data for a loaded map.
- NpcDefinition
- Definition of an NPC placed on the map (static data from map objects).
- Overworld
Input - Overworld input state for a single frame.
- Overworld
State - Top-level overworld state, holding the current map and player.
- Player
State - Runtime player state in the overworld.
- Sign
- A sign in the map that displays text when interacted with.
- Warp
Point - A warp point within a map (door, staircase, etc.).
Enums§
- Direction
- Cardinal direction for movement and connections.
- Movement
State - Player movement state.
- NpcMovement
Type - NPC movement pattern.
- Transport
Mode - Transport mode for player movement.