#include <scene_game.hpp>
◆ Player()
◆ add_length()
| void Player::add_length |
( |
| ) |
|
◆ check_collision()
| void Player::check_collision |
( |
bool * | play_bgmusic | ) |
|
◆ create_snake()
| void Player::create_snake |
( |
| ) |
|
◆ draw()
◆ get_head_pos_center()
| raylib::Vector2 Player::get_head_pos_center |
( |
| ) |
|
◆ init()
| void Player::init |
( |
raylib::Sound * | lose_sound, |
|
|
bool * | play_bgmusic ) |
◆ reset()
◆ unqueue_turn()
| void Player::unqueue_turn |
( |
| ) |
|
◆ update()
◆ controllable
| bool Player::controllable = false |
◆ game_over
◆ head_pos
| raylib::Vector2 Player::head_pos |
◆ snake_body_radius
Dokumentasi untuk kelas ini dibangkitkan dari file-file berikut: