goto_entity_simple_system

Function goto_entity_simple_system 

Source
pub fn goto_entity_simple_system(
    entities: &Entities,
    gotos: &Components<GotoEntity>,
    positions: &mut Components<Point>,
) -> SystemResult
Expand description

Moves an entity one tile towards the targeted entity, regardless of collisions.