Function snake_sdk::set_direction

source ·
pub fn set_direction(direction: Direction)
Expand description

Sets the direction of the snake. This is the direction the snake will move next.