public abstract class AbstractPilot
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
int |
memoryConsumption
The value of this variable gives a hint at how much memory [bytes] this
instance of Pilot including all its subobjects consumes.
|
Constructor and Description |
---|
AbstractPilot() |
Modifier and Type | Method and Description |
---|---|
abstract AbstractPilot |
clone()
Deprecated.
|
abstract java.awt.Color |
getBodyColor() |
abstract BodyFactory |
getBodyFactory()
determines the favorite supplier this
Pilot is designed for. |
abstract double |
getHealth() |
abstract java.lang.String |
getName()
The convention states that the Pilot's class name has to be returned.
|
abstract java.awt.Color |
getNameColor() |
abstract java.awt.Color |
getTurretColor() |
public int memoryConsumption
@Deprecated public abstract AbstractPilot clone()
clone
in class java.lang.Object
public abstract java.awt.Color getBodyColor()
public abstract BodyFactory getBodyFactory()
Pilot
is designed for.
Implementor is obligated to add the final modifier.
BodyFactory
public abstract double getHealth()
public abstract java.lang.String getName()
As you read this, I can say that the convention is not cared about. Here is the routine - do what you may.
public abstract java.awt.Color getNameColor()
public abstract java.awt.Color getTurretColor()