public interface IPlayer extends IMoveableObject
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,org.apache.commons.math3.geometry.euclidean.threed.Vector3D> |
getBodyParts() |
org.apache.commons.math3.geometry.euclidean.threed.Rotation |
getGlobalOrientation() |
Angle |
getHorizontalAngle()
Retrieves the horizontal angle of the player with respect to the global
coordinate system.
|
int |
getID() |
double |
getMaxSpeed() |
java.lang.String |
getTeamname() |
float |
getTimeForBackStep(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position,
Angle directionAtTarget)
Calculates the time a player is expected to take to get from its current
position to the passed position heading in the passed direction by back
stepping
|
float |
getTimeForSideStep(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position,
Angle directionAtTarget,
boolean left)
Calculates the time a player is expected to take to get from its current
position to the passed position heading in the passed direction by side
stepping
|
float |
getTimeToTurnAndRun(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position,
Angle directionAtTarget)
Calculates the time a player is expected to take to get from its current
position to the passed position heading in the passed direction
|
boolean |
isGoalie() |
boolean |
isOwnTeam() |
getFuturePosition, getFuturePositions, getOldSpeed, getSpeed, isMoving
getAge, getCollisionDistance, getDirectionTo, getDirectionTo, getDistanceToXY, getDistanceToXY, getDistanceToXYZ, getDistanceToXYZ, getInformationSource, getLastSeenTime, getLocalPosition, getName, getPosition, getPreviousPosition, isLaying, isVisible
int getID()
java.lang.String getTeamname()
boolean isOwnTeam()
double getMaxSpeed()
boolean isGoalie()
Angle getHorizontalAngle()
org.apache.commons.math3.geometry.euclidean.threed.Rotation getGlobalOrientation()
float getTimeToTurnAndRun(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, Angle directionAtTarget)
position
- the destination position (global)directionAtTarget
- desired body direction (global, rad) at the
destination positionfloat getTimeForSideStep(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, Angle directionAtTarget, boolean left)
position
- the destination position (global)directionAtTarget
- desired body direction (global, rad) at the
destination positionleft
- true if we want to step leftfloat getTimeForBackStep(org.apache.commons.math3.geometry.euclidean.threed.Vector3D position, Angle directionAtTarget)
position
- the destination position (global)directionAtTarget
- desired body direction (global, rad) at the
destination positionjava.util.Map<java.lang.String,org.apache.commons.math3.geometry.euclidean.threed.Vector3D> getBodyParts()