Skip to main content

EntityState

Type Alias EntityState 

pub type EntityState = AgentState;
Expand description

Ergonomic alias for AgentState.

Aliased Type§

pub struct EntityState {
    pub entity_id: u64,
    pub pos_x_mm: i64,
    pub pos_y_mm: i64,
    pub resource_tally: u64,
    pub task_opcode: u16,
    pub health_points: u16,
}

Fields§

§entity_id: u64§pos_x_mm: i64§pos_y_mm: i64§resource_tally: u64§task_opcode: u16§health_points: u16