|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorldView
This interface create view on the AgentMemory class that enables information of sensoric character
Method Summary | |
---|---|
java.util.HashMap<java.lang.Integer,java.lang.Double> |
allPlayersScores()
get scores of all players |
int |
getAgentAlternativeAmmo()
get agent alternative ammo for current weapon |
int |
getAgentAmmo()
get agent ammo for current weapon |
int |
getAgentArmor()
get agent armor from agent status |
int |
getAgentHealth()
get agent health from agent status |
int |
getAgentID()
get agent unique integer identifier from agent status |
boolean |
getAgentIsMoving()
true if agent is moving |
Triple |
getAgentLocation()
get agent location from agent status |
java.lang.String |
getAgentName()
get agent name from agent status |
Triple |
getAgentRotation()
get agent rotation from agent status |
double |
getAgentScore()
get agent score - number of agents killed by him |
int |
getAgentTeam()
get agent team from agent status |
double |
getAgentTeamScore()
get agent team score |
java.lang.String |
getAgentUnrealID()
get agent Unreal ID from agent status |
Triple |
getAgentVelocity()
get agent velocity from agent status |
AutoTraceRay |
getAutoTrace(int ID)
get auto-trace result according to supplied id |
java.util.ArrayList<java.lang.Integer> |
getAutoTraceIDs()
obtain list of auto-trace message IDs from last batch |
java.util.ArrayList<AutoTraceRay> |
getAutoTraces()
obtain list of auto-trace messages from last batch |
ZoneChangedBot |
getBotZoneChanged()
obtain full information about the zone change of agent- Id - by parsing Id user can obtain additional information |
AddWeapon |
getCurrentWeapon()
get agent instance of current weapon from agent status |
FastTrace |
getFastTraceResult(int id)
get trace result of specified id - each trace is sent with unique user-defined ID |
ZoneChangedFoot |
getFootZoneChanged()
obtain full information about the zone change of agent foot - Id - by parsing Id user can obtain additional information |
ZoneChangedHead |
getHeadZoneChanged()
obtain full information about the zone change of agent head - Id - by parsing Id user can obtain additional information |
boolean |
getHearNoise()
checks if agent heard noise |
boolean |
getHearPickUp()
checks if agent heard noise of pickup |
double |
getOpposingTeamScore()
get opposing team score works only with two teams |
double |
getPlayerScore(int id)
get score of agent of specified id - number of agents killed by him |
Ammo |
getSeeAmmo()
get first visible ammo agent sees |
Ammo |
getSeeAmmo(java.lang.String UnrealID)
to get an object of UnrealID if it is visible |
java.util.ArrayList<Ammo> |
getSeeAmmos()
get list of visible ammos around the agent |
boolean |
getSeeAnyAmmo()
true if agent sees any ammo around |
boolean |
getSeeAnyArmor()
true if agent sees any armor around |
boolean |
getSeeAnyDomPoint()
true if agent sees any domination point around |
boolean |
getSeeAnyEnemy()
true if bot sees any enemy |
boolean |
getSeeAnyExtra()
true if agent sees any extra around |
boolean |
getSeeAnyFriend()
true if bot sees any friend |
boolean |
getSeeAnyHealth()
true if agent sees any health around |
boolean |
getSeeAnyItem()
true if agent sees any item around |
boolean |
getSeeAnyMover()
true if agent sees any mover around |
boolean |
getSeeAnyNavPoint()
true if agent sees any navigation point around |
boolean |
getSeeAnyPlayer()
true if bot sees any player |
boolean |
getSeeAnyReachableAmmo()
true if agent sees any ammo around |
boolean |
getSeeAnyReachableArmor()
true if agent sees any armor around |
boolean |
getSeeAnyReachableExtra()
true if agent sees any extra around |
boolean |
getSeeAnyReachableHealth()
true if agent sees any health around |
boolean |
getSeeAnyReachableItem()
true if agent sees any item around |
boolean |
getSeeAnyReachableNavPoint()
true if agent sees any navigation point around |
boolean |
getSeeAnyReachableWeapon()
true if agent sees any weapon around |
boolean |
getSeeAnyWeapon()
true if agent sees any weapon around |
Armor |
getSeeArmor()
get first visible armor agent sees |
Armor |
getSeeArmor(java.lang.String UnrealID)
to get an object of UnrealID if it is visible |
java.util.ArrayList<Armor> |
getSeeArmors()
get list of visible armors around the agent |
DominationPoint |
getSeeDomPoint()
get first visible domination point agent sees |
Player |
getSeeEnemy()
get first visible enemy |
Extra |
getSeeExtra()
get first visible extra agent sees |
Extra |
getSeeExtra(java.lang.String UnrealID)
to get an object of UnrealID if it is visible |
java.util.ArrayList<Extra> |
getSeeExtras()
get list of visible extras around the agent |
Player |
getSeeFriend()
get first visible friendly player |
Health |
getSeeHealth()
get first visible health agent sees |
Health |
getSeeHealth(java.lang.String UnrealID)
to get an object of UnrealID if it is visible |
java.util.ArrayList<Health> |
getSeeHealths()
get list of visible healths around the agent |
Item |
getSeeItem()
get first visible item agent sees |
Item |
getSeeItem(int itemID)
indicate whether item of supplied ID is visible |
Item |
getSeeItem(java.lang.String UnrealID)
to get an object of UnrealID if it is visible |
java.util.ArrayList<Item> |
getSeeItems()
get list of visible items around the agent |
Mover |
getSeeMover()
get first visible mover agent sees |
Mover |
getSeeMover(int moverID)
indicate whether mover of supplied ID is visible |
Mover |
getSeeMover(java.lang.String UnrealID)
to get an object of UnrealID if it is visible |
java.util.ArrayList<Mover> |
getSeeMovers()
get list of visible movers around the agent |
NavPoint |
getSeeNavPoint()
get first visible navigation point agent sees |
NavPoint |
getSeeNavPoint(int navPointID)
indicate whether navigation point of supplied ID is visible |
NavPoint |
getSeeNavPoint(java.lang.String UnrealID)
to get an object of UnrealID if it is visible |
java.util.ArrayList<NavPoint> |
getSeeNavPoints()
get list of visible navigation poins around the agent |
Player |
getSeePlayer()
get first visible player |
Player |
getSeePlayer(int playerID)
get Player if he is visible |
Player |
getSeePlayer(java.lang.String UnrealID)
to get an object of UnrealID if it is visible |
java.util.ArrayList<Player> |
getSeePlayers()
get all visible players |
Ammo |
getSeeReachableAmmo()
get first visible ammo agent sees |
java.util.ArrayList<Ammo> |
getSeeReachableAmmos()
get list of visible ammos around the agent |
Armor |
getSeeReachableArmor()
get first visible armor agent sees |
Health |
getSeeReachableHealth()
get first visible health agent sees |
NavPoint |
getSeeReachableNavPoint()
get first visible navigation point agent sees |
java.util.ArrayList<NavPoint> |
getSeeReachableNavPoints()
get list of visible navigation points around the agent |
Weapon |
getSeeReachableWeapon()
get first visible weapon agent sees |
java.util.ArrayList<Weapon> |
getSeeReachableWeapons()
get list of visible weapons around the agent |
Weapon |
getSeeWeapon()
get first visible weapon agent sees |
Weapon |
getSeeWeapon(java.lang.String UnrealID)
to get an object of UnrealID if it is visible |
java.util.ArrayList<Weapon> |
getSeeWeapons()
get list of visible weapons around the agent |
int |
getWasKilledBy()
obtain unique integer identifier of killer of agent |
int |
getWhoAgentKilled()
obtain unique integer identifier enemy agent killed by agent |
boolean |
isBeingDamaged()
checks if agent is being damaged - necessary for some reaction - like turn around to localize enemy |
boolean |
isBotChangedZone()
check of agent change of zone |
boolean |
isBumpingToAnotherActor()
checks if agent bumped to another actor |
boolean |
isColliding()
checks if a hit wall happened |
boolean |
isFalling()
checks if agent is falling |
boolean |
isFlagStolen()
check if the agent's team flag is stolen |
boolean |
isFootChangedZone()
check of agent's foot change of zone |
boolean |
isHeadChangedZone()
check of agent's head change of zone - for figuring out if agent emersed from water for instance |
boolean |
isHoldingFlag()
check if agent is holding flag |
boolean |
isMoving()
check velocity from agent status |
boolean |
isProjectileComming()
true if a projectile is in the collision course with agent current location |
boolean |
isShooting()
checks if agent is shooting at the moment - for sending cease fire only once |
java.util.HashMap<java.lang.Integer,java.lang.Double> |
opposingTeamScores()
|
Method Detail |
---|
int getAgentHealth()
int getAgentArmor()
int getAgentAmmo()
int getAgentAlternativeAmmo()
int getAgentTeam()
AddWeapon getCurrentWeapon()
java.lang.String getAgentName()
Triple getAgentLocation()
Triple getAgentRotation()
Triple getAgentVelocity()
boolean getAgentIsMoving()
java.lang.String getAgentUnrealID()
int getAgentID()
double getAgentScore()
double getPlayerScore(int id)
java.util.HashMap<java.lang.Integer,java.lang.Double> allPlayersScores()
double getAgentTeamScore()
double getOpposingTeamScore()
java.util.HashMap<java.lang.Integer,java.lang.Double> opposingTeamScores()
Player getSeePlayer()
Player getSeeEnemy()
Player getSeeFriend()
java.util.ArrayList<Player> getSeePlayers()
boolean getSeeAnyPlayer()
boolean getSeeAnyFriend()
boolean getSeeAnyEnemy()
Player getSeePlayer(int playerID)
Player getSeePlayer(java.lang.String UnrealID)
UnrealID
-
boolean getSeeAnyNavPoint()
NavPoint getSeeNavPoint()
java.util.ArrayList<NavPoint> getSeeNavPoints()
NavPoint getSeeNavPoint(int navPointID)
navPointID
-
NavPoint getSeeReachableNavPoint()
boolean getSeeAnyReachableNavPoint()
java.util.ArrayList<NavPoint> getSeeReachableNavPoints()
NavPoint getSeeNavPoint(java.lang.String UnrealID)
UnrealID
-
boolean getSeeAnyMover()
Mover getSeeMover()
java.util.ArrayList<Mover> getSeeMovers()
Mover getSeeMover(int moverID)
moverID
-
Mover getSeeMover(java.lang.String UnrealID)
UnrealID
-
DominationPoint getSeeDomPoint()
boolean getSeeAnyDomPoint()
boolean isHoldingFlag()
boolean isFlagStolen()
boolean getSeeAnyItem()
boolean getSeeAnyReachableItem()
Item getSeeItem()
java.util.ArrayList<Item> getSeeItems()
Item getSeeItem(int itemID)
itemID
-
Item getSeeItem(java.lang.String UnrealID)
UnrealID
-
boolean getSeeAnyReachableWeapon()
Weapon getSeeReachableWeapon()
java.util.ArrayList<Weapon> getSeeReachableWeapons()
boolean getSeeAnyWeapon()
Weapon getSeeWeapon()
java.util.ArrayList<Weapon> getSeeWeapons()
Weapon getSeeWeapon(java.lang.String UnrealID)
UnrealID
-
boolean getSeeAnyArmor()
Armor getSeeArmor()
boolean getSeeAnyReachableArmor()
Armor getSeeReachableArmor()
java.util.ArrayList<Armor> getSeeArmors()
Armor getSeeArmor(java.lang.String UnrealID)
UnrealID
-
boolean getSeeAnyHealth()
Health getSeeReachableHealth()
boolean getSeeAnyReachableHealth()
Health getSeeHealth()
java.util.ArrayList<Health> getSeeHealths()
Health getSeeHealth(java.lang.String UnrealID)
UnrealID
-
boolean getSeeAnyAmmo()
Ammo getSeeAmmo()
java.util.ArrayList<Ammo> getSeeAmmos()
boolean getSeeAnyReachableAmmo()
Ammo getSeeReachableAmmo()
java.util.ArrayList<Ammo> getSeeReachableAmmos()
Ammo getSeeAmmo(java.lang.String UnrealID)
UnrealID
-
boolean getSeeAnyExtra()
boolean getSeeAnyReachableExtra()
Extra getSeeExtra()
java.util.ArrayList<Extra> getSeeExtras()
Extra getSeeExtra(java.lang.String UnrealID)
UnrealID
-
boolean isBotChangedZone()
boolean isHeadChangedZone()
boolean isFootChangedZone()
ZoneChangedBot getBotZoneChanged()
ZoneChangedFoot getFootZoneChanged()
ZoneChangedHead getHeadZoneChanged()
boolean isColliding()
boolean isFalling()
boolean isBumpingToAnotherActor()
boolean getHearPickUp()
boolean getHearNoise()
boolean isProjectileComming()
int getWasKilledBy()
int getWhoAgentKilled()
boolean isBeingDamaged()
boolean isShooting()
boolean isMoving()
FastTrace getFastTraceResult(int id)
id
-
java.util.ArrayList<AutoTraceRay> getAutoTraces()
java.util.ArrayList<java.lang.Integer> getAutoTraceIDs()
AutoTraceRay getAutoTrace(int ID)
ID
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |