|
DC/RTS Documentation
v1.62
A Unity3D System Incorporating the Functionality of a Dungeon Crawler or Real Time Strategy System
|
Used for Being Able to Easily keep Track of GridSquares Tied to Specific Quadrants. More...
Public Member Functions | |
| GridSquareQuadrant (int quad_size, int t_rows, int t_cols, int q_row, int q_col) | |
| Creates a new GridSquareQuadrant and initializes Static Values. More... | |
| GridSquareQuadrant (int q_row, int q_col) | |
| Creates a new GridSquareQuadrant. More... | |
| void | determineAdjacentQuadrants (GridSquareQuadrant[,] quads) |
| Determines Adjacent GridQuadrants to this GridQuadrant. More... | |
| GridSquare[] | retrieveQuadrantSquares () |
| Retrieves the GridSquares Attached to this GridQuadrant. More... | |
| void | resetQuadrant () |
| Used for Reseting any Information Tied to this Specific Quadrant. More... | |
| int | getRow () |
| Retrieves the Row Value of this GridQuadrant. More... | |
| int | getColumn () |
| Retrieves the Column Value of this GridQuadrant. More... | |
| List< GridSquareQuadrant > | getAdjacentQuadrants () |
| Retrieves this GridQuadrant's Adjacent GridQuadrants More... | |
Static Public Member Functions | |
| static void | resetQuadrantSquares (int t_r, int t_c) |
| Resets all the GridSquares attached to the Static GridSquares Array. More... | |
| static GridSquare | retrieveSpecificSquare (int r, int c) |
| Retrieves a GridSquare from a Particular Row and Column. More... | |
| static void | removeSpecificSquare (int r, int c) |
| Removes a square from the Static GridSquares Array by Setting it to null. More... | |
| static void | addSquaretoQuad (GridSquare newSquare, int r, int c) |
| Adds a GridSquare to the Static GridSquares Array at a Particular Location. More... | |
Used for Being Able to Easily keep Track of GridSquares Tied to Specific Quadrants.
| GridGenerator.GridSquareQuadrant.GridSquareQuadrant | ( | int | quad_size, |
| int | t_rows, | ||
| int | t_cols, | ||
| int | q_row, | ||
| int | q_col | ||
| ) |
Creates a new GridSquareQuadrant and initializes Static Values.
| quad_size | The Size of the Quadrant |
| t_rows | The Total Rows of all GridSquares |
| t_cols | The Total Columns of all GridSquares |
| q_row | This Quadrant's Row |
| q_col | This Quadrant's Column |
| GridGenerator.GridSquareQuadrant.GridSquareQuadrant | ( | int | q_row, |
| int | q_col | ||
| ) |
Creates a new GridSquareQuadrant.
| q_row | This Quadrant's Row |
| q_col | This Quadrant's Column |
|
static |
Adds a GridSquare to the Static GridSquares Array at a Particular Location.
| newSquare | The new GridSquare to add |
| r | The Row |
| c | The Column |
| void GridGenerator.GridSquareQuadrant.determineAdjacentQuadrants | ( | GridSquareQuadrant | quads[,] | ) |
Determines Adjacent GridQuadrants to this GridQuadrant.
| quads | Two dimensional array of GridQuadrants |
| List<GridSquareQuadrant> GridGenerator.GridSquareQuadrant.getAdjacentQuadrants | ( | ) |
Retrieves this GridQuadrant's Adjacent GridQuadrants
| int GridGenerator.GridSquareQuadrant.getColumn | ( | ) |
Retrieves the Column Value of this GridQuadrant.
| int GridGenerator.GridSquareQuadrant.getRow | ( | ) |
Retrieves the Row Value of this GridQuadrant.
|
static |
Removes a square from the Static GridSquares Array by Setting it to null.
| r | The Row |
| c | The Column |
| void GridGenerator.GridSquareQuadrant.resetQuadrant | ( | ) |
Used for Reseting any Information Tied to this Specific Quadrant.
|
static |
Resets all the GridSquares attached to the Static GridSquares Array.
| t_r | The Total Rows |
| t_c | The Total Columns |
| GridSquare [] GridGenerator.GridSquareQuadrant.retrieveQuadrantSquares | ( | ) |
Retrieves the GridSquares Attached to this GridQuadrant.
|
static |