|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgpl.gasteroids.Bullet
public class Bullet
La clase Bullet representa un proyectil lanzado por una nave. Las propiedades de un Bullet son:
Field Summary | |
---|---|
double |
speed_x
|
double |
speed_y
|
int |
ttl
|
double |
x
|
double |
y
|
Constructor Summary | |
---|---|
Bullet()
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public double x
public double y
public double speed_x
public double speed_y
public int ttl
Constructor Detail |
---|
public Bullet()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |