Skip to main content

gait

Function gait 

Source
pub fn gait(path: &[Pos], tiles: f32, pace: f32) -> Option<Gait>
Expand description

The look of a unit that has walked tiles tiles along path (its start first) at pace tiles per second, beside the tile steps puts it on; None once it has arrived (or has nowhere to go): it then stands, facing the camera.