|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.cuni.pogamut.MessageObjects.MessageObject
cz.cuni.pogamut.MessageObjects.SeePlayer
public class SeePlayer
See player.
A message generated by the engine periodically (on the order of 1 or 2 times a second)
when another player is visible by you.
Possibly usefull if you have the delay between synchronous updates very long.
In that case, this can prevent someone from walking by unseen.
May be depricated.
Field Summary | |
---|---|
Triple |
location
Location - an absolute location for the player |
java.lang.String |
name
Name of the player |
boolean |
reachable
Reachable - true if the bot can run to this other player directly, false otherwise. |
Triple |
rotation
Rotation - which direction the player is facing in absolute terms |
int |
shooting
Wether player is shooting |
java.lang.String |
team
Team - what team the player is on. |
Triple |
velocity
Velocity - absolute velocity in UT units |
java.lang.String |
weapon
Weapon - what weapon the character is holding. |
Fields inherited from class cz.cuni.pogamut.MessageObjects.MessageObject |
---|
ID, type, types, UnrealID, visible |
Constructor Summary | |
---|---|
SeePlayer()
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class cz.cuni.pogamut.MessageObjects.MessageObject |
---|
clone, diff, equals, getID, getType, getUnrealID, getVisibility, hasID, isVisible, setID, setType, setUnrealID, setVisible, update |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Triple rotation
public Triple location
public Triple velocity
public java.lang.String team
public boolean reachable
public java.lang.String weapon
public int shooting
public java.lang.String name
Constructor Detail |
---|
public SeePlayer()
Method Detail |
---|
public java.lang.String toString()
toString
in class MessageObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |