gpl.gasteroids
Class Bullet

java.lang.Object
  extended by gpl.gasteroids.Bullet

public class Bullet
extends java.lang.Object

La clase Bullet representa un proyectil lanzado por una nave. Las propiedades de un Bullet son:

Author:
Victor Carceler

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

x

public double x

y

public double y

speed_x

public double speed_x

speed_y

public double speed_y

ttl

public int ttl
Constructor Detail

Bullet

public Bullet()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object