class Snake_Game::Snake
- Snake_Game::Snake
- Reference
- Object
Defined in:
snake.crConstructors
Instance Method Summary
- #body_arr : Array(Raylib::Vector2)
- #body_arr=(body_arr : Array(Raylib::Vector2))
- #check_collision
- #dir=(dir : Snake_Game::Snake::Direction)
- #draw
- #eat(food)
- #handle_keys
- #move
- #pos : Raylib::Vector2
- #pos=(pos : Raylib::Vector2)
- #size : Raylib::Vector2
- #size=(size : Raylib::Vector2)
- #snake_size : Int32
- #speed : Int32
- #speed=(speed : Int32)
- #update