|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectActor
QuantumObject
Collectible
StrongerGuns
public class StrongerGuns
Supply a ship with stronger guns (i. e. increase the guns' level), but remove all but the center gun in exchange.
| Field Summary |
|---|
| Fields inherited from class QuantumObject |
|---|
destroysOnNextTurn, disappear, mantissa, speed |
| Constructor Summary | |
|---|---|
StrongerGuns()
|
|
| 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 |
| Constructor Detail |
|---|
public StrongerGuns()
| 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 | |||||||