MCPcopy Create free account

hub / github.com/alexdantas/nSnake / types & classes

Types & classes55 in github.com/alexdantas/nSnake

↓ 4 callersClassBody
src/Game/Player.hpp:8
↓ 3 callersClassScoreFileException
Custom exception class to specify an error that occurred during a level loading.
src/Game/ScoreFile.hpp:13
↓ 3 callersClassstat
src/Misc/Utils.cpp:90
↓ 2 callersClassBoardParserException
Custom exception class to specify an error that occurred during a level loading.
src/Game/BoardParser.hpp:12
↓ 1 callersClassFruit
A single fruit.
src/Game/FruitManager.hpp:11
↓ 1 callersClassLevel
Contains a "scope" of the INI file. Suppose an INI file like this: key=value [group] key=value [[group2]] key=value [[[group3]] key=value We have f
src/Config/INI.hpp:71
↓ 1 callersClassLilSnake
src/Interface/Animation/AnimationSnakes.hpp:11
ClassAnimation
Abstract interface to any kind of Animation.
src/Interface/Animation/Animation.hpp:7
ClassAnimationSnakes
Rules and behavior of the Fire animation.
src/Interface/Animation/AnimationSnakes.hpp:25
ClassArray2D
src/Misc/Array2D.hpp:22
ClassBoard
A level where the snake runs and eats fruits. @note I couldn't name this class "Level" because it could get confusing with the concept of game speed,
src/Game/Board.hpp:32
ClassBoard
Avoiding circular #include hell.
src/Game/Player.hpp:20
ClassBoardParser
Opens, loads and parses a level file, returning a well-formed `Board`.
src/Game/BoardParser.hpp:31
EnumBoardSize
The board size
src/Config/Globals.hpp:93
EnumBorderType
src/Interface/Window.hpp:19
EnumDirection
src/Game/Player.hpp:26
ClassFruitManager
Controls how many Fruits are there and how they're spawned.
src/Game/FruitManager.hpp:22
ClassGame
src/Game/Game.hpp:16
ClassGameState
Abstract definition of a game state. ## For dummies A game state is a certain well-defined way the game behaves. Like the main menu (a state), for
src/Flow/GameState.hpp:31
ClassGameStateGame
This represents the actual game taking place. Here is defined all the game logic and rules. ## For developers: Before you continue, take a deep bre
src/Flow/GameStateGame.hpp:29
ClassGameStateMainMenu
The Main Menu.
src/Flow/GameStateMainMenu.hpp:12
ClassGameStateMainMenu
circular dependence on GameStateMainMenu
src/Interface/LayoutMainMenu.hpp:10
ClassLayout
Interface for how the things are shown on the screen. Any Layout will have lots if Windows, each with a specific function: to show the game board, di
src/Interface/Layout.hpp:15
ClassLayoutFirstTime
How we show the screen at GameStateFirstTime. See it's documentation there.
src/Interface/LayoutFirstTime.hpp:10
ClassLayoutGame
Pre-defining it's layout to avoid circular dependency.
src/Game/Game.hpp:14
ClassLayoutGame
src/Interface/LayoutGame.hpp:11
ClassLayoutMainMenu
How we show the screen at GameStateMainMenu. This class is merely a wrapper over functions that print GameStateMainMenu on the screen. Thus, it need
src/Interface/LayoutMainMenu.hpp:20
ClassMenu
List of selectable items. @warning When adding items, make sure they're allocated dynamically! I mean POINTERS, damn it. Otherwise SEGFAULTS when try
src/Interface/Menu/Menu.hpp:28
ClassMenuAlphabetic
Menu on which its items are always sorted alphabetically. It has special navigation keys: by pressing a letter it will jump straight to the first occ
src/Interface/Menu/MenuAlphabetic.hpp:11
ClassMenuItem
Simplest type of item possible, with a label and user-defined id.
src/Interface/Menu/MenuItem.hpp:11
ClassMenuItemCheckbox
A little box that can be checked or not. Used to get a boolean from the user.
src/Interface/Menu/MenuItemCheckbox.hpp:9
ClassMenuItemLabel
Shows a Menu Item with left and right labels.
src/Interface/Menu/MenuItemLabel.hpp:7
ClassMenuItemNumberbox
Allows to select a number, kinda like a slider. There's a number and by pressing left and right you add or remove units of it. @note When you press
src/Interface/Menu/MenuItemNumberbox.hpp:17
ClassMenuItemTextbox
Place where you can input characters. For more info, check out MenuItem.
src/Interface/Menu/MenuItemTextbox.hpp:9
ClassMenuItemTextlist
A list of selectable text
src/Interface/Menu/MenuItemTextlist.hpp:10
EnumMenuItemType
src/Interface/Menu/MenuItem.hpp:17
EnumNamesToEasilyIdentifyTheMenuItemsInsteadOfRawNumbers
src/Flow/GameStateMainMenu.cpp:10
EnumNamesToEasilyIdentifyTheMenuItemsInsteadOfRawNumbers
Options of the Pause Menu
src/Game/Game.cpp:11
ClassParser
Loads, reads and parses the contents of an INI file (or string).
src/Config/INI.hpp:156
ClassPlayer
Avoiding circular #include hell.
src/Game/Board.hpp:10
ClassPlayer
src/Game/Player.hpp:23
ClassScoreEntry
Avoiding cyclic #includes
src/Config/Globals.hpp:9
ClassScoreEntry
A single entry on the high-score file.
src/Game/ScoreFile.hpp:27
ClassScoreFile
Stores points the player made on the game. There's different high scores for different game settings. Each time the user runs the game with a differ
src/Game/ScoreFile.hpp:87
EnumStateCode
src/Flow/GameState.hpp:39
ClassStateManager
Giga-class that switches from game states. It makes the transitions between them, assuring each one is properly initialized. ## For developers: Sho
src/Flow/StateManager.hpp:22
EnumStyle
src/Game/Board.hpp:46
ClassTimer
src/Misc/Timer.hpp:7
ClassWindow
A segment of the terminal screen (2D char matrix).
src/Interface/Window.hpp:16
ClassWindowGameHelp
Specific Window that shows Help and other info during Game.
src/Interface/WindowGameHelp.hpp:11
EnumWindowTitlePosition
src/Interface/Window.hpp:70
Classcommand
deps/commander/commander.h:37
Classdirent
src/Misc/Utils.cpp:219
Classtimeval
src/Misc/Timer.cpp:13
Classtimeval
src/Interface/Ncurses.cpp:44