![]() |
DC/RTS Documentation
v1.62
A Unity3D System Incorporating the Functionality of a Dungeon Crawler or Real Time Strategy System
|
Represents a GridObject that is used on the GridGenerator More...
Public Member Functions | |
List< GridGenerator.GridSquare > | getObjGridSquares () |
Retrieves the GridSquares that make up this GridObject More... | |
bool | isContinualCheck () |
Is the GridObject currently being constantly updated? More... | |
bool | isValidBuildLocation () |
Is this GridObject buildable? More... | |
Texture2D | getOptionsTexture (int index) |
Gets the options texture at a particular index More... | |
TimerBarSystem | getTimerBar (int r, int c) |
Get the TimeBarSystem at the particular row and column of the GridObject option More... | |
HealthSystem | getHealthBar () |
Gets this GridObject's HealthBarSystem. More... | |
TimerBarSystem | getActionTimerBar () |
Gets this GridObject's TimerBarSystem. More... | |
void | setTimeBarTimeLimits (float tT) |
Sets the time values for this GridObject options, this is called from the GridObjectHandler class More... | |
Public Attributes | |
Texture2D | OptionsTexture |
The 50x50 framed texture that makes up this GridObject's individual options More... | |
int | OptionsRows |
How many Rows does this GridObject's options contain? More... | |
int | OptionsColumns |
How many Columns does this GridObject's options contain? More... | |
bool | Selectable |
Is this GridObject selectable? More... | |
Properties | |
float | BuildTime [get, set] |
The amount of time needed to build this Grid Object More... | |
Represents a GridObject that is used on the GridGenerator
TimerBarSystem GridObject.getActionTimerBar | ( | ) |
Gets this GridObject's TimerBarSystem.
HealthSystem GridObject.getHealthBar | ( | ) |
Gets this GridObject's HealthBarSystem.
List<GridGenerator.GridSquare> GridObject.getObjGridSquares | ( | ) |
Retrieves the GridSquares that make up this GridObject
Texture2D GridObject.getOptionsTexture | ( | int | index | ) |
Gets the options texture at a particular index
index | The index to retrieve from |
TimerBarSystem GridObject.getTimerBar | ( | int | r, |
int | c | ||
) |
Get the TimeBarSystem at the particular row and column of the GridObject option
r | The Row |
c | The Column |
bool GridObject.isContinualCheck | ( | ) |
Is the GridObject currently being constantly updated?
bool GridObject.isValidBuildLocation | ( | ) |
Is this GridObject buildable?
void GridObject.setTimeBarTimeLimits | ( | float | tT | ) |
Sets the time values for this GridObject options, this is called from the GridObjectHandler class
tT | The desired time |
int GridObject.OptionsColumns |
How many Columns does this GridObject's options contain?
int GridObject.OptionsRows |
How many Rows does this GridObject's options contain?
Texture2D GridObject.OptionsTexture |
The 50x50 framed texture that makes up this GridObject's individual options
bool GridObject.Selectable |
Is this GridObject selectable?
|
getset |
The amount of time needed to build this Grid Object