|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectActor
QuantumObject
Collectible
Sickness
public class Sickness
Subtract a rather large number of hit points from a spaceship.
| Field Summary | |
|---|---|
static int |
POINTS
|
| Fields inherited from class QuantumObject |
|---|
destroysOnNextTurn, disappear, mantissa, speed |
| Constructor Summary | |
|---|---|
Sickness()
|
|
| Method Summary | |
|---|---|
void |
act()
A day in the life of a quantum object: 1. |
boolean |
hit(ManuallyControlledSpaceship ship)
Dummy hit method. |
| Methods inherited from class QuantumObject |
|---|
getDestroysOnNextTurn, getSpeed, move, setDestroysOnNextTurn, setSpeed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int POINTS
| Constructor Detail |
|---|
public Sickness()
| Method Detail |
|---|
public void act()
QuantumObject
act in class Collectiblepublic boolean hit(ManuallyControlledSpaceship ship)
Collectible
hit in class Collectibleship - The object we are interacting with
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||