Snoke
labyrinth.h File Reference

Definitions and prototypes for Labyrinth class. More...

#include "../Common/common.h"
#include "../Snake/snake.h"
#include "change.h"
#include "../Ball/ball.h"
#include <ncurses.h>
#include <string>
#include <cstring>
#include <cstdio>
#include <list>
Include dependency graph for labyrinth.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  DisplayHandler
 
class  Labyrinth
 class for containing and displaying the game field More...
 

Variables

const int DISPFULL = 0
 the whole labyrinth can fit and was redrawed More...
 
const int DISPPART = 1
 the whole labyrinth doesn't fit, so we are displaying it partialy More...
 
const int DISPUPD = 2
 the whole labyrinth can fit and was already fully redrawn so we just need to redraw the changed Points More...
 

Detailed Description

Definitions and prototypes for Labyrinth class.

Author
Yegor Ignatov
Version
0.1
Date
2019-05-03

Definition in file labyrinth.h.

Variable Documentation

const int DISPFULL = 0

the whole labyrinth can fit and was redrawed

Definition at line 44 of file labyrinth.h.

const int DISPPART = 1

the whole labyrinth doesn't fit, so we are displaying it partialy

Definition at line 48 of file labyrinth.h.

const int DISPUPD = 2

the whole labyrinth can fit and was already fully redrawn so we just need to redraw the changed Points

Definition at line 52 of file labyrinth.h.