Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Classes | Functions
Snake Game

A 3D snake game demo.

Classes

class  GameConfig
 Game common configuration. More...
 
class  Game
 Handles communication between the different game components (renderers, player, menus) and the player actions. More...
 
class  MenuButton
 Represents a button in a menu. More...
 
class  MenuToggle
 Represents a toggle in a menu. More...
 
class  MenuImage
 Represents a fixed image displayed in a menu. More...
 
class  MenuLabel
 A dynamic text label. More...
 
class  GameMenu
 A game menu containing buttons, toggles and images. More...
 
class  GameMenuRenderer
 Renders a game menu. More...
 
class  GameRenderer
 Renders the main game scene. More...
 
class  Player
 Player state and animations. More...
 

Functions

int main ()
 

Function Documentation

◆ main()

int main ( )

The main function of the game demo. Handles the setup and main loop.

Returns
a general error code.