nsnake
Classic snake game for the terminal
Loading...
Searching...
No Matches
Class Hierarchy

Go to the graphical class hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 12]
 ▼CAnimationAbstract interface to any kind of Animation
 CAnimationSnakesRules and behavior of the Fire animation
 CArray2D< T >Two-dimensional array
 CArray2D< bool >
 CBoardA level where the snake runs and eats fruits
 CBoardParserOpens, loads and parses a level file, returning a well-formed Board
 CBody
 ▼Cstd::exception
 CBoardParserExceptionCustom exception class to specify an error that occurred during a level loading
 CScoreFileExceptionCustom exception class to specify an error that occurred during a level loading
 CFruitA single fruit
 CFruitManagerControls how many Fruits are there and how they're spawned
 CGame
 ▼CGameStateAbstract definition of a game state
 CGameStateGameThis represents the actual game taking place
 CGameStateMainMenuThe Main Menu
 ▼CLayoutInterface for how the things are shown on the screen
 CLayoutFirstTimeHow we show the screen at GameStateFirstTime
 CLayoutGame
 CLayoutMainMenuHow we show the screen at GameStateMainMenu
 CINI::LevelContains a "scope" of the INI file
 CLilSnake
 ▼CMenuList of selectable items
 CMenuAlphabeticMenu on which its items are always sorted alphabetically
 ▼CMenuItemSimplest type of item possible, with a label and user-defined id
 CMenuItemCheckboxA little box that can be checked or not
 CMenuItemLabelShows a Menu Item with left and right labels
 CMenuItemNumberboxAllows to select a number, kinda like a slider
 CMenuItemTextboxPlace where you can input characters
 CMenuItemTextlistA list of selectable text
 CINI::ParserLoads, reads and parses the contents of an INI file (or string)
 CPlayer
 CScoreEntryA single entry on the high-score file
 CScoreFileStores points the player made on the game
 CStateManagerGiga-class that switches from game states
 CTimer
 CWindowA segment of the terminal screen (2D char matrix)
 CWindowGameHelpSpecific Window that shows Help and other info during Game