|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.TeamHEC.LocomotionCommotion.Resource.Resource
com.TeamHEC.LocomotionCommotion.Resource.Fuel
public abstract class Fuel
| Field Summary | |
|---|---|
int |
cost
|
| Constructor Summary | |
|---|---|
Fuel(int value,
java.lang.String type)
Initialises Fuel |
|
| Method Summary |
|---|
| Methods inherited from class com.TeamHEC.LocomotionCommotion.Resource.Resource |
|---|
addValue, addValue, getType, getValue, setValue, subValue, subValue |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int cost
| Constructor Detail |
|---|
public Fuel(int value,
java.lang.String type)
value - The initial value of the object.type - The type of Fuel as a String.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||