|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectActor
QuantumObject
Collectible
AngledGuns
public class AngledGuns
Make the ship's guns shoot in a more widespread way, i. e. set the guns' angles to different values.
| Field Summary |
|---|
| Fields inherited from class QuantumObject |
|---|
destroysOnNextTurn, disappear, mantissa, speed |
| Constructor Summary | |
|---|---|
AngledGuns()
|
|
| 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 AngledGuns()
| 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 | |||||||