Refreshes the Block at the given position on a BlockMap.
Why might a Block need to be refreshed? Say, if its surrounding neighbours have been changed and you wish this change to be reflected in this Block (its orientation will refresh).
Definition:
void RefreshBlock(BlockMap map, int x, int y, int depth)
Return value |
Description |
void |
In the absence of returning something, we add the possibility of returning anything. |
Argument |
DataType |
Description |
map |
BlockMap |
The BlockMap containing the Block that you wish to refresh |
x |
int |
The x coordinate of the Block. |
y |
int |
The y coordinate of the Block. |
depth |
int |
The depth (z) coordinate of the Block. |
|