public interface IBulletSnapshot
Modifier and Type | Method and Description |
---|---|
int |
getColor()
Returns the color of the bullet.
|
int |
getExplosionImageIndex()
Returns the index to which explosion image that must be rendered.
|
int |
getFrame()
Returns the frame number to display.
|
double |
getPaintX()
Returns the x coordinate where to paint the bullet.
|
double |
getPaintY()
Returns the y coordinate where to paint the bullet.
|
double |
getPower()
Returns the bullet power.
|
BulletState |
getState()
Returns the bullet state.
|
double |
getX()
Returns the x coordinate of the bullet.
|
double |
getY()
Returns the y coordinate of the bullet.
|
boolean |
isExplosion()
Returns the flag specifying if this bullet has turned into an explosion.
|
BulletState getState()
double getPower()
double getX()
double getY()
double getPaintX()
double getPaintY()
int getColor()
Color.getRGB()
int getFrame()
boolean isExplosion()
true
if this bullet has turned into an explosion;
false
otherwiseint getExplosionImageIndex()