Module veloren_common::rtsim
source · Structs§
- An iterator over the variants of PersonalityTrait
- This type is the map route through which the rtsim (real-time simulation) aspect of the game communicates with the rest of the game. It is analagous to
comp::Controller
in that it provides a consistent interface for simulation NPCs to control their actions. Unlikecomp::Controller
, it is very abstract and is intended for consumption by both the agent code and the internal rtsim simulation code (depending on whether the entity is loaded into the game as a physical entity or not). Agent code should attempt to act upon its instructions where reasonable although deviations for various reasons (obstacle avoidance, counter-attacking, etc.) are expected.
Enums§
- Represents event-like actions that rtsim NPCs can perform to interact with the world