cz.cuni.amis.pogamut.ut2004.hideandseek.server
Class HSBotRecord<PLAYER_CONTAINER>

Package class diagram package HSBotRecord
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.hideandseek.server.HSBotRecord<PLAYER_CONTAINER>
Type Parameters:
PLAYER_CONTAINER -

public class HSBotRecord<PLAYER_CONTAINER>
extends Object

BotHideAndSeekRecord

Author:
Jimmy

Constructor Summary
HSBotRecord(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId botId)
           
 
Method Summary
 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getBotId()
           
 String getBotName()
           
 HSBotState getBotState()
           
 long getFinishTime()
           
 long getInitTime()
           
 PLAYER_CONTAINER getPlayer()
           
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getRunnerCapturedBySeekerCount()
           
 int getRunnerCapturedBySeekerScore()
           
 int getRunnerCount()
           
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getRunnerFoulCount()
           
 int getRunnerFoulScore()
           
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getRunnerSafeCount()
           
 int getRunnerSafeScore()
           
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getRunnerSpottedBySeekerCount()
           
 int getRunnerSpottedBySeekerScore()
           
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getRunnerSurvivedCount()
           
 int getRunnerSurvivedScore()
           
 int getScore()
           
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getSeekerCapturedRunnerCount()
           
 int getSeekerCapturedRunnerScore()
           
 int getSeekerCount()
           
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getSeekerLetRunnerEscapeCount()
           
 int getSeekerLetRunnerEscapeScore()
           
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getSeekerLetRunnerSurviveCount()
           
 int getSeekerLetRunnerSurviveScore()
           
 Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getSeekerSpottedRunnerCount()
           
 int getSeekerSpottedRunnerScore()
           
 boolean isBot()
           
 boolean isInGame()
           
 boolean isSpawned()
           
 void reset()
           
 void runnerCapturedBySeeker(int scoreDelta, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId seekerId)
          THIS bot is RUNNER and was captured by OTHER SEEKER.
 void runnerFauled(int scoreDelta, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId seekerId)
          THIS bot is RUNNER and was fauled out.
 void runnerSafe(int scoreDelta, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId seekerId)
          THIS BOT is RUNNER and made it SAFE to the safe-area before the seeker.
 void runnerSpottedBySeeker(int scoreDelta, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId seekerId)
          THIS BOT is RUNNER and has been spotted by SEEKER.
 void runnerSurvived(int scoreDelta, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId seekerId)
          THIS BOT is RUNNER and survived the round without being captured by SEEKER.
 void seekerCapturedRunner(int scoreDelta, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId runnerId)
          THIS BOT is SEEKER and CAPTURED other RUNNER.
 void seekerLetRunnerEscape(int scoreDelta, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId runnerId)
          THIS BOT is SEEKER and LET other RUNNER REACH SAFE AREA.
 void seekerLetRunnerSurvive(int scoreDelta, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId runnerId)
          THIS BOT is SEEKER and LET SURVIVE other RUNNER.
 void seekerSpottedRunner(int scoreDelta, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId runnerId)
          THIS BOT is SEEKER and SPOTTED other RUNNER.
 void setBotState(HSBotState botState)
           
 void setFinishTime(long finishTime)
           
 void setInGame(boolean inGame)
           
 void setInitTime(long initTime)
           
 void setPlayer(PLAYER_CONTAINER player)
           
 void setRunnerForThisRound()
          THIS BOT HAS BEEN SET AS RUNNER.
 void setScore(int value)
           
 void setSeekerForThisRound()
          THIS BOT HAS BEEN SET AS SEEKER.
 void setSpawned(boolean spawned)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HSBotRecord

public HSBotRecord(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId botId)
Method Detail

getInitTime

public long getInitTime()

setInitTime

public void setInitTime(long initTime)

getFinishTime

public long getFinishTime()

setFinishTime

public void setFinishTime(long finishTime)

getBotState

public HSBotState getBotState()

setBotState

public void setBotState(HSBotState botState)

isInGame

public boolean isInGame()

setInGame

public void setInGame(boolean inGame)

isSpawned

public boolean isSpawned()

setSpawned

public void setSpawned(boolean spawned)

getBotId

public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getBotId()

isBot

public boolean isBot()

getBotName

public String getBotName()

getSeekerCount

public int getSeekerCount()

getRunnerCount

public int getRunnerCount()

getScore

public int getScore()

setScore

public void setScore(int value)

getRunnerCapturedBySeekerScore

public int getRunnerCapturedBySeekerScore()

getRunnerCapturedBySeekerCount

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getRunnerCapturedBySeekerCount()

getRunnerSpottedBySeekerScore

public int getRunnerSpottedBySeekerScore()

getRunnerSpottedBySeekerCount

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getRunnerSpottedBySeekerCount()

getRunnerFoulScore

public int getRunnerFoulScore()

getRunnerFoulCount

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getRunnerFoulCount()

getRunnerSafeScore

public int getRunnerSafeScore()

getRunnerSafeCount

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getRunnerSafeCount()

getRunnerSurvivedScore

public int getRunnerSurvivedScore()

getRunnerSurvivedCount

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getRunnerSurvivedCount()

getSeekerCapturedRunnerScore

public int getSeekerCapturedRunnerScore()

getSeekerCapturedRunnerCount

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getSeekerCapturedRunnerCount()

getSeekerLetRunnerEscapeScore

public int getSeekerLetRunnerEscapeScore()

getSeekerLetRunnerEscapeCount

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getSeekerLetRunnerEscapeCount()

getSeekerLetRunnerSurviveScore

public int getSeekerLetRunnerSurviveScore()

getSeekerLetRunnerSurviveCount

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getSeekerLetRunnerSurviveCount()

getSeekerSpottedRunnerScore

public int getSeekerSpottedRunnerScore()

getSeekerSpottedRunnerCount

public Map<cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId,Integer> getSeekerSpottedRunnerCount()

setSeekerForThisRound

public void setSeekerForThisRound()
THIS BOT HAS BEEN SET AS SEEKER.


setRunnerForThisRound

public void setRunnerForThisRound()
THIS BOT HAS BEEN SET AS RUNNER.


runnerCapturedBySeeker

public void runnerCapturedBySeeker(int scoreDelta,
                                   cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId seekerId)
THIS bot is RUNNER and was captured by OTHER SEEKER.

Parameters:
scoreDelta -
seekerId -

runnerFauled

public void runnerFauled(int scoreDelta,
                         cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId seekerId)
THIS bot is RUNNER and was fauled out.

Parameters:
scoreDelta -
seekerId -

runnerSafe

public void runnerSafe(int scoreDelta,
                       cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId seekerId)
THIS BOT is RUNNER and made it SAFE to the safe-area before the seeker.

Parameters:
scoreDelta -
seekerId -

runnerSpottedBySeeker

public void runnerSpottedBySeeker(int scoreDelta,
                                  cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId seekerId)
THIS BOT is RUNNER and has been spotted by SEEKER.

Parameters:
scoreDelta -
seekerId -

runnerSurvived

public void runnerSurvived(int scoreDelta,
                           cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId seekerId)
THIS BOT is RUNNER and survived the round without being captured by SEEKER.

Parameters:
scoreDelta -
seekerId -

seekerCapturedRunner

public void seekerCapturedRunner(int scoreDelta,
                                 cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId runnerId)
THIS BOT is SEEKER and CAPTURED other RUNNER.

Parameters:
scoreDelta -
runnerId -

seekerLetRunnerEscape

public void seekerLetRunnerEscape(int scoreDelta,
                                  cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId runnerId)
THIS BOT is SEEKER and LET other RUNNER REACH SAFE AREA.

Parameters:
scoreDelta -
runnerId -

seekerLetRunnerSurvive

public void seekerLetRunnerSurvive(int scoreDelta,
                                   cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId runnerId)
THIS BOT is SEEKER and LET SURVIVE other RUNNER.

Parameters:
scoreDelta -
runnerId -

seekerSpottedRunner

public void seekerSpottedRunner(int scoreDelta,
                                cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId runnerId)
THIS BOT is SEEKER and SPOTTED other RUNNER.

Parameters:
scoreDelta -
runnerId -

reset

public void reset()

getPlayer

public PLAYER_CONTAINER getPlayer()

setPlayer

public void setPlayer(PLAYER_CONTAINER player)


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