[−][src]Function pokemon_rust::common::get_character_sprite_index_from_direction

pub fn get_character_sprite_index_from_direction(direction: &Direction) -> usize

Returns the appropriate sprite index to use for a standing character that is facing a given direction.