Midnight Blue Game and Engine
Public Member Functions | List of all members
MidnightBlue.Fuel Class Reference

Fuel used in the ships normal thruster drive More...

Inheritance diagram for MidnightBlue.Fuel:
Inheritance graph
Collaboration diagram for MidnightBlue.Fuel:
Collaboration graph

Public Member Functions

 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...
 
- Public Member Functions inherited from MB2D.Collectable
 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...
 

Additional Inherited Members

- Properties inherited from MB2D.Collectable
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...
 

Detailed Description

Fuel used in the ships normal thruster drive

Constructor & Destructor Documentation

§ Fuel()

MidnightBlue.Fuel.Fuel ( int  initialCount)
inline

Initializes a new instance of the T:MidnightBlue.Fuel class.

Parameters
initialCountInitial amount of fuel.

Member Function Documentation

§ Effect()

override void MidnightBlue.Fuel.Effect ( Entity  entity)
inlinevirtual

Has no effect on the entity

Parameters
entityEntity.

Implements MB2D.Collectable.


The documentation for this class was generated from the following file: