Class to store a value of type T per side.
More...
List of all members.
Public Member Functions |
| | RFRockSides () |
| | Initializes a new instance of the RFRockSides`1 class.
|
| | RFRockSides (T init) |
| | Initializes a new instance of the RFRockSides`1 class.
|
| T | Get (RFRockSideTypes index) |
| | Get the value of type T for a side with the specified index.
|
| T | Get (int index) |
| | Get the specified value by index.
|
| void | Set (int index, T value) |
| | Set the specified value by index.
|
Public Attributes |
|
T | front |
|
T | back |
|
T | top |
|
T | bottom |
|
T | left |
|
T | right |
Detailed Description
Class to store a value of type T per side.
Member Function Documentation
| T Get |
( |
RFRockSideTypes |
index | ) |
|
Get the value of type T for a side with the specified index.
- Parameters:
-
Get the specified value by index.
- Parameters:
-
Initializes a new instance of the RFRockSides`1 class.
Initializes a new instance of the RFRockSides`1 class.
- Parameters:
-
| void Set |
( |
int |
index, |
|
|
T |
value |
|
) |
| |
Set the specified value by index.
- Parameters:
-
| index | Index of side. |
| value | Value for side. |
The documentation for this class was generated from the following file: