|
LazyLib | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAnchoredEntity
public class AnchoredEntity
An implementation of CombatEntityAPI
that follows and rotates
with another anchoring CombatEntityAPI
.
Constructor Summary | |
---|---|
AnchoredEntity(CombatEntityAPI anchor,
Vector2f location)
Creates a CombatEntityAPI that follows and rotates with another
anchoring CombatEntityAPI . |
Method Summary | |
---|---|
CombatEntityAPI |
getAnchor()
Returns the CombatEntityAPI this entity is anchored to. |
float |
getAngularVelocity()
NONFUNCTIONAL/PLACEHOLDER |
CollisionClass |
getCollisionClass()
NONFUNCTIONAL/PLACEHOLDER |
float |
getCollisionRadius()
NONFUNCTIONAL/PLACEHOLDER |
BoundsAPI |
getExactBounds()
NONFUNCTIONAL/PLACEHOLDER |
float |
getFacing()
NONFUNCTIONAL/PLACEHOLDER |
float |
getHitpoints()
NONFUNCTIONAL/PLACEHOLDER |
float |
getHullLevel()
NONFUNCTIONAL/PLACEHOLDER |
Vector2f |
getLocation()
Returns the location of this entity, calculated to be relative to its anchor. |
float |
getMass()
NONFUNCTIONAL/PLACEHOLDER |
float |
getMaxHitpoints()
NONFUNCTIONAL/PLACEHOLDER |
int |
getOwner()
NONFUNCTIONAL/PLACEHOLDER |
ShieldAPI |
getShield()
NONFUNCTIONAL/PLACEHOLDER |
Vector2f |
getVelocity()
Returns this entity's velocity. |
void |
setAngularVelocity(float angVel)
NONFUNCTIONAL/PLACEHOLDER |
void |
setCollisionClass(CollisionClass collisionClass)
NONFUNCTIONAL/PLACEHOLDER |
void |
setFacing(float facing)
NONFUNCTIONAL/PLACEHOLDER |
void |
setMass(float mass)
NONFUNCTIONAL/PLACEHOLDER |
void |
setOwner(int owner)
NONFUNCTIONAL/PLACEHOLDER |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnchoredEntity(CombatEntityAPI anchor, Vector2f location)
CombatEntityAPI
that follows and rotates with another
anchoring CombatEntityAPI
.
anchor
- The CombatEntityAPI
to follow and rotate with.location
- The location relative to anchor
to track.
Method Detail |
---|
public Vector2f getLocation()
getLocation
in interface CombatEntityAPI
public Vector2f getVelocity()
getVelocity
in interface CombatEntityAPI
public CombatEntityAPI getAnchor()
CombatEntityAPI
this entity is anchored to.
CombatEntityAPI
this entity is anchored to.
public float getFacing()
getFacing
in interface CombatEntityAPI
public void setFacing(float facing)
setFacing
in interface CombatEntityAPI
public float getAngularVelocity()
getAngularVelocity
in interface CombatEntityAPI
public void setAngularVelocity(float angVel)
setAngularVelocity
in interface CombatEntityAPI
public int getOwner()
getOwner
in interface CombatEntityAPI
public void setOwner(int owner)
setOwner
in interface CombatEntityAPI
public float getCollisionRadius()
getCollisionRadius
in interface CombatEntityAPI
public CollisionClass getCollisionClass()
getCollisionClass
in interface CombatEntityAPI
public void setCollisionClass(CollisionClass collisionClass)
setCollisionClass
in interface CombatEntityAPI
public float getMass()
getMass
in interface CombatEntityAPI
public void setMass(float mass)
setMass
in interface CombatEntityAPI
public BoundsAPI getExactBounds()
getExactBounds
in interface CombatEntityAPI
public ShieldAPI getShield()
getShield
in interface CombatEntityAPI
public float getHullLevel()
getHullLevel
in interface CombatEntityAPI
public float getHitpoints()
getHitpoints
in interface CombatEntityAPI
public float getMaxHitpoints()
getMaxHitpoints
in interface CombatEntityAPI
|
LazyLib | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |