public class PilotZombie extends AbstractPilot
With all internal data stripped off, any action can only be replayed, but not re-rendered.
A Pilot without brain, hence the term PilotZombie.
memoryConsumption
Constructor and Description |
---|
PilotZombie(AbstractPilot pilot)
Quick and painless.
|
Modifier and Type | Method and Description |
---|---|
AbstractPilot |
clone()
Deprecated.
|
java.awt.Color |
getBodyColor() |
BodyFactory |
getBodyFactory()
determines the favorite supplier this
Pilot is designed for. |
double |
getHealth() |
java.lang.String |
getName()
The convention states that the Pilot's class name has to be returned.
|
java.awt.Color |
getNameColor() |
java.awt.Color |
getTurretColor() |
public PilotZombie(AbstractPilot pilot)
In fact, this produces a zombie duplicate of the pilot or PilotZombie.
pilot
- - unharmed. unchanged@Deprecated public AbstractPilot clone()
clone
in class AbstractPilot
public java.awt.Color getBodyColor()
getBodyColor
in class AbstractPilot
public BodyFactory getBodyFactory()
AbstractPilot
Pilot
is designed for.
Implementor is obligated to add the final modifier.
getBodyFactory
in class AbstractPilot
BodyFactory
public double getHealth()
getHealth
in class AbstractPilot
public java.lang.String getName()
AbstractPilot
As you read this, I can say that the convention is not cared about. Here is the routine - do what you may.
getName
in class AbstractPilot
public java.awt.Color getNameColor()
getNameColor
in class AbstractPilot
public java.awt.Color getTurretColor()
getTurretColor
in class AbstractPilot