|
Snoke
|
A Support Change class. More...
#include <change.h>

Public Member Functions | |
| void | initQueue () |
| Initializes change array, by resetting it. More... | |
| bool | addPoint (Point p) |
| adds Point to addition array if it fits the criteria More... | |
| bool | rmPoint (Point p) |
| adds Point to removal array if it fits the criteria More... | |
| bool | inAddQueue (Point p) |
| Check if Points is in the addition queue. More... | |
| bool | inRmQueue (Point p) |
| Check if the Point is in the remove queue. More... | |
| void | getAddQueue (std::deque< Point > *cpChange) |
| method to get a copy of addition array More... | |
| void | getRmQueue (std::deque< Point > *cpChange) |
| method to get a copy of removal array More... | |
Private Attributes | |
| std::deque< Point > | queue [2] |
A Support Change class.
| change | - 2-dim array containing additions and removals for the labyrinth |
| bool Change::addPoint | ( | Point | p | ) |
adds Point to addition array if it fits the criteria
| p | - Point to add |
Definition at line 28 of file change.cpp.

| void Change::getAddQueue | ( | std::deque< Point > * | cpChange | ) |
method to get a copy of addition array
| cpChange | - array, where we copy |
Definition at line 89 of file change.cpp.

| void Change::getRmQueue | ( | std::deque< Point > * | cpChange | ) |
method to get a copy of removal array
| cpChange | - array, where we copy |
Definition at line 98 of file change.cpp.

| bool Change::inAddQueue | ( | Point | p | ) |
Check if Points is in the addition queue.
| p | - point to check |
Definition at line 57 of file change.cpp.

| void Change::initQueue | ( | ) |
Initializes change array, by resetting it.
Definition at line 17 of file change.cpp.

| bool Change::inRmQueue | ( | Point | p | ) |
Check if the Point is in the remove queue.
| p | - point to check |
Definition at line 73 of file change.cpp.

| bool Change::rmPoint | ( | Point | p | ) |
adds Point to removal array if it fits the criteria
| p | - Point to add |
Definition at line 43 of file change.cpp.
