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

How we show the screen at GameStateFirstTime. More...

#include <LayoutFirstTime.hpp>

Inheritance diagram for LayoutFirstTime:
Collaboration diagram for LayoutFirstTime:

Public Member Functions

 LayoutFirstTime (int width, int height)
 
void windowsInit ()
 
void windowsExit ()
 
void draw ()
 
- Public Member Functions inherited from Layout
 Layout (int width, int height)
 

Additional Inherited Members

- Public Attributes inherited from Layout
Windowmain
 Layout's main Window, where all the others are inside.
 
- 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

How we show the screen at GameStateFirstTime.

See it's documentation there.

Definition at line 10 of file LayoutFirstTime.hpp.

Constructor & Destructor Documentation

◆ LayoutFirstTime()

LayoutFirstTime::LayoutFirstTime ( int width,
int height )

Definition at line 5 of file LayoutFirstTime.cpp.

◆ ~LayoutFirstTime()

LayoutFirstTime::~LayoutFirstTime ( )
virtual

Definition at line 10 of file LayoutFirstTime.cpp.

Member Function Documentation

◆ draw()

void LayoutFirstTime::draw ( )
virtual

Reimplemented from Layout.

Definition at line 24 of file LayoutFirstTime.cpp.

◆ windowsExit()

void LayoutFirstTime::windowsExit ( )
virtual

Reimplemented from Layout.

Definition at line 18 of file LayoutFirstTime.cpp.

◆ windowsInit()

void LayoutFirstTime::windowsInit ( )
virtual

Reimplemented from Layout.

Definition at line 14 of file LayoutFirstTime.cpp.


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