nsnake
Classic snake game for the terminal
Loading...
Searching...
No Matches
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 Attributes

Window * pause
 Contains the pause menu.
 
Window * help
 Contains the help screen.
 

Detailed Description

Definition at line 11 of file LayoutGame.hpp.

Constructor & Destructor Documentation

◆ LayoutGame()

LayoutGame::LayoutGame ( Game game,
int  width,
int  height 
)

Definition at line 5 of file LayoutGame.cpp.

◆ ~LayoutGame()

LayoutGame::~LayoutGame ( )
virtual

Definition at line 17 of file LayoutGame.cpp.

Member Function Documentation

◆ draw()

void LayoutGame::draw ( Menu *  menu)

Definition at line 78 of file LayoutGame.cpp.

◆ windowsExit()

void LayoutGame::windowsExit ( )

Definition at line 64 of file LayoutGame.cpp.

◆ windowsInit()

void LayoutGame::windowsInit ( )

Definition at line 21 of file LayoutGame.cpp.

Member Data Documentation

◆ help

Window* LayoutGame::help

Contains the help screen.

Definition at line 45 of file LayoutGame.hpp.

◆ pause

Window* LayoutGame::pause

Contains the pause menu.

Definition at line 42 of file LayoutGame.hpp.


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