Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Nazar2347/Snake
/ types & classes
Types & classes
54 in github.com/Nazar2347/Snake
⨍
Functions
99
◇
Types & classes
54
Class
AppleFood
* @brief Represents an apple food item. */
source/core/public/IFood.h:73
Class
Board
* @brief Represents the game board and manages its state. */
source/core/public/Board.h:59
Class
Board
source/app/Game/Game.h:9
Class
Button
source/render/public/GameUI.h:2
Class
Button
* @brief Represents a clickable button with a texture in the game UI. */
source/render/public/Button.h:7
Class
Command
* @brief Abstract base class for all command objects. * * The Command class defines the interface for executing commands * that operate on a Snake
source/core/public/Command.h:11
Class
Command
source/app/Game/Game.h:15
Enum
ECellType
* @brief Types of cells that can exist on the board. */
source/core/public/Board.h:20
Enum
EDirection
* @brief Represents the possible movement directions for the snake. */
source/core/public/Snake.h:9
Enum
EFoodType
* @brief Enumerates the different types of food available in the game. */
source/core/public/IFood.h:9
Enum
EGameLevel
* @enum EGameLevel * @brief Represents the available game levels. */
source/app/Game/Game.h:24
Enum
ELevelType
* @brief Types of levels available in the game. */
source/core/public/Board.h:10
Class
EXIT_BUTTON
source/core/public/GameConstants.h:132
Class
FoodRender
* @brief Handles rendering of food items on the game board. * * The FoodRender class is responsible for drawing different types of food * (such as
source/render/public/RenderFood.h:10
Class
FoodRender
source/app/Game/Game.h:18
Class
Frog
* @brief Represents a frog food item that can move. */
source/core/public/IFood.h:94
Class
Game
* @class Game * @brief Manages the main game logic, state, and rendering. * * The Game class encapsulates the core gameplay loop, input handling,
source/app/Game/Game.h:40
Class
Game
source/app/Game/GameState.h:2
Class
GameState
source/app/Game/Game.h:12
Class
GameState
source/app/Game/GameState.h:5
Class
GameState_Lose
source/app/Game/GameState.h:44
Class
GameState_Menu
source/app/Game/GameState.h:18
Class
GameState_Play
source/app/Game/GameState.h:27
Class
GameState_Win
source/app/Game/GameState.h:36
Class
GameUI
* @brief Handles the user interface for the game, including menus and state transitions. */
source/render/public/GameUI.h:8
Class
GameUI
source/app/Game/Game.h:13
Class
GameUI
source/app/Game/GameState.h:3
Class
IFood
* @brief Abstract base class representing food items on the board. */
source/core/public/IFood.h:20
Class
IFood
source/app/Game/Game.h:11
Class
IObject
* @brief Interface for movable entities on the game board. * * Provides a contract for movement and position checking logic. */
source/core/public/IObject.h:11
Class
InputHandler
* @brief Handles user input and maps it to command objects. * * The InputHandler class is responsible for processing user input (such as keyboard ev
source/core/public/InputHandler.h:12
Class
InputHandler
source/app/Game/Game.h:14
Class
LARGE_MESSAGE_LABEL
source/core/public/GameConstants.h:110
Class
MENU_PANEL
source/core/public/GameConstants.h:121
Class
Mouse
* @brief Represents a mouse food item that can move. */
source/core/public/IFood.h:123
Class
MoveDownCommand
* @brief Command to move the Snake down. */
source/core/public/Command.h:44
Class
MoveLeftCommand
* @brief Command to move the Snake left. */
source/core/public/Command.h:70
Class
MoveRightCommand
* @brief Command to move the Snake right. */
source/core/public/Command.h:57
Class
MoveUPCommand
* @brief Command to move the Snake up. */
source/core/public/Command.h:31
Class
NullCommand
* @brief Command that performs no action. * * Used as a default or null object when no input is detected. */
source/core/public/Command.h:85
Class
RESTART_BUTTON
source/core/public/GameConstants.h:137
Class
RandomNumberGenerator
* @brief Utility class for generating random integer values within a specified range. */
source/core/public/Utilities.h:6
Class
RenderBoard
* @brief Handles rendering of the game board and its background. * * The RenderBoard class is responsible for drawing the board, including its backg
source/render/public/RenderBoard.h:10
Class
RenderBoard
source/app/Game/Game.h:16
Class
RenderSnake
* @class RenderSnake * @brief Handles rendering of the Snake object using raylib textures and coordinates. */
source/render/public/RenderSnake.h:32
Class
RenderSnake
source/app/Game/Game.h:17
Class
SCORE_BAR
source/core/public/GameConstants.h:115
Class
START_BUTTON
source/core/public/GameConstants.h:127
Class
Snake
source/core/public/Command.h:2
Class
Snake
* @brief Represents the snake entity and its behavior in the game. * * Inherits from IMove to provide movement logic. */
source/core/public/Snake.h:22
Class
Snake
source/app/Game/Game.h:10
Enum
SnakePartType
* @enum SnakePartType * @brief Enumerates the different graphical parts of the snake for rendering. */
source/render/public/RenderSnake.h:7
Class
Vector2Equal
* @brief Functor for comparing two Vector2 objects for equality. */
source/core/public/Board.h:32
Class
Vector2Hash
* @brief Functor for hashing a Vector2 object. */
source/core/public/Board.h:46