Fuel used in the ships normal thruster drive
More...
|
| Fuel (int initialCount) |
| Initializes a new instance of the T:MidnightBlue.Fuel class. More...
|
|
override void | Effect (Entity entity) |
| Has no effect on the entity More...
|
|
| Collectable (string name, string tag, int initialCount) |
| Initializes a new instance of the T:MB2D.Collectable class. More...
|
|
void | Consume (int amount=1) |
| Consumes a number of instances of the item More...
|
|
void | Add (int amount=1) |
| Adds a number of instances of this item to the container More...
|
|
|
string | Name [get] |
| Gets the name of the item. More...
|
|
string | Tag [get] |
| Gets the items tag. More...
|
|
int | Count [get] |
| Gets the count of available instances of the item. More...
|
|
Fuel used in the ships normal thruster drive
§ Fuel()
MidnightBlue.Fuel.Fuel |
( |
int |
initialCount | ) |
|
|
inline |
Initializes a new instance of the T:MidnightBlue.Fuel class.
- Parameters
-
initialCount | Initial amount of fuel. |
§ Effect()
override void MidnightBlue.Fuel.Effect |
( |
Entity |
entity | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file:
- Shared/src/Game/Inventory/Fuel.cs