|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeud.testgame.model.LocalObject
feud.testgame.model.LocalBullet
An extended local object that represents a bullet.
Field Summary | |
static long |
LIFE_TIME
|
Constructor Summary | |
LocalBullet()
Create a new bullet. |
Method Summary | |
boolean |
isOld()
The bullet is old, i.e. it has reached the end of it lifecycle. |
void |
move(long ticks)
Move the bullet. |
Methods inherited from class feud.testgame.model.LocalObject |
addToValue, copyFrom, equals, getAnimation, getAnimationSpeed, getClientID, getObjectID, getPosition, getRotation, getSpeed, getType, getValue, getView, hasCollided, hashCode, setAnimation, setAnimationSpeed, setCollided, setObjectID, setPosition, setRotation, setSpeed, setType, setValue, setView |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final long LIFE_TIME
Constructor Detail |
public LocalBullet()
Method Detail |
public void move(long ticks)
ticks
- number of "ticks" in game time that have passed since the last movement.public boolean isOld()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |