12 if(displayMethod >= 0)
32 switch (displayMethod)
157 std::deque<Point> cpChange;
161 for(
auto it = cpChange.begin(); it != cpChange.end(); ++it)
164 mvaddch(tmp.
y, tmp.
x,
' ');
167 for(
auto it = cpChange.begin(); it != cpChange.end(); ++it)
void getRmQueue(std::deque< Point > *cpChange)
method to get a copy of removal array
Definitions and prototypes for Labyrinth class.
void freeDisplay()
No extra stimulus, displaying the default way.
void getAddQueue(std::deque< Point > *cpChange)
method to get a copy of addition array
const int DISPPART
the whole labyrinth doesn't fit, so we are displaying it partialy
void displayFull()
redraw every Point of the labyrinth
const int DISPFULL
the whole labyrinth can fit and was redrawed
void displayPartialy()
display labyrinth partialy, using the start and end Points
void displayUpdated()
draw only the changed Points when the labyrinth is being fully displayed
void forcedDisplay(int displayMethod)
got an extra stimulus for displaying in a certain method
void displayHandler(int displayMethod)
handler for choosing the approriate display method in the current environment
const int DISPUPD
the whole labyrinth can fit and was already fully redrawn so we just need to redraw the changed Point...
Coordinates and style of the cell in console window.