nsnake
Classic snake game for the terminal
 All Classes Namespaces Functions Variables Enumerations Pages
Class Hierarchy

Go to the graphical class hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 12]
oCAnimationAbstract interface to any kind of Animation
|\CAnimationSnakesRules and behavior of the Fire animation
oCArray2D< T >Two-dimensional array
oCArray2D< bool >
oCBoardA level where the snake runs and eats fruits
oCBoardParserOpens, loads and parses a level file, returning a well-formed Board
oCBody
oCexception
|oCBoardParserExceptionCustom 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
oCFruitA single fruit
oCFruitManagerControls how many Fruits are there and how they're spawned
oCGame
oCGameStateAbstract definition of a game state
|oCGameStateGameThis represents the actual game taking place
|\CGameStateMainMenuThe Main Menu
oCLayoutInterface for how the things are shown on the screen
|oCLayoutFirstTimeHow we show the screen at GameStateFirstTime
|oCLayoutGame
|\CLayoutMainMenuHow we show the screen at GameStateMainMenu
oCINI::LevelContains a "scope" of the INI file
oCLilSnake
oCMenuList of selectable items
|\CMenuAlphabeticMenu on which its items are always sorted alphabetically
oCMenuItemSimplest type of item possible, with a label and user-defined id
|oCMenuItemCheckboxA little box that can be checked or not
|oCMenuItemLabelShows a Menu Item with left and right labels
|oCMenuItemNumberboxAllows to select a number, kinda like a slider
|oCMenuItemTextboxPlace where you can input characters
|\CMenuItemTextlistA list of selectable text
oCINI::ParserLoads, reads and parses the contents of an INI file (or string)
oCPlayer
oCScoreEntryA single entry on the high-score file
oCScoreFileStores points the player made on the game
oCStateManagerGiga-class that switches from game states
oCTimer
oCWindowA segment of the terminal screen (2D char matrix)
\CWindowGameHelpSpecific Window that shows Help and other info during Game