nsnake
Classic snake game for the terminal
Public Member Functions | Public Attributes | List of all members
LayoutGame Class Reference
Inheritance diagram for LayoutGame:
Inheritance graph
[legend]
Collaboration diagram for LayoutGame:
Collaboration graph
[legend]

Public Member Functions

 LayoutGame (Game *game, int width, int height)
 
void windowsInit ()
 
void windowsExit ()
 
void draw (Menu *menu)
 
- Public Member Functions inherited from Layout
 Layout (int width, int height)
 
virtual void draw ()
 

Public Attributes

Windowpause
 Contains the pause menu.
 
Windowhelp
 Contains the help screen.
 
- Public Attributes inherited from Layout
Windowmain
 Layout's main Window, where all the others are inside.
 

Additional Inherited Members

- Static Public Attributes inherited from Layout
static int screenWidth = 0
 Full width of the terminal right now.
 
static int screenHeight = 0
 Full height of the terminal right now.
 

Detailed Description

Definition at line 11 of file LayoutGame.hpp.


The documentation for this class was generated from the following files: