cz.cuni.amis.pogamut.unreal.communication.messages.gbinfomessages
Interface IPlayer

Package class diagram package IPlayer

public interface IPlayer

Author:
ik

Method Summary
 String getAction()
           
 int getFiring()
          0 means is not firing, 1 - firing in primary mode, 2 - firing in secondary mode (alt firing).
 UnrealId getId()
           
 Location getLocation()
          An absolute location of the player within the map.
 String getName()
           
 Rotation getRotation()
          Which direction the player is facing in absolute terms.
 long getSimTime()
           
 int getTeam()
          What team the player is on.
 Velocity getVelocity()
          Absolute velocity of the player as a vector of movement per one game second.
 String getWeapon()
          Class of the weapon the player is holding.
 boolean isVisible()
          If the player is in the field of view of the bot.
 String toHtmlString()
           
 

Method Detail

getId

UnrealId getId()

getName

String getName()

getAction

String getAction()

isVisible

boolean isVisible()
If the player is in the field of view of the bot.


getRotation

Rotation getRotation()
Which direction the player is facing in absolute terms.


getLocation

Location getLocation()
An absolute location of the player within the map.


getVelocity

Velocity getVelocity()
Absolute velocity of the player as a vector of movement per one game second.


getTeam

int getTeam()
What team the player is on. 255 is no team. 0-3 are red, blue, green, gold in that order.


getWeapon

String getWeapon()
Class of the weapon the player is holding. Weapon strings to look for include: "AssaultRifle", "ShieldGun", "FlakCannon", "BioRifle", "ShockRifle", "LinkGun", "SniperRifle", "RocketLauncher", "Minigun", "LightingGun", "Translocator". TODO: Look if this is all.


getFiring

int getFiring()
0 means is not firing, 1 - firing in primary mode, 2 - firing in secondary mode (alt firing).


getSimTime

long getSimTime()

toHtmlString

String toHtmlString()


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.