|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController<BOT>
cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicController<BOT>
cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController<BOT>
cz.cuni.amis.pogamut.ut2004.hideandseek.bot.UT2004BotHSController<BOT>
public class UT2004BotHSController<BOT extends UT2004Bot>
| Field Summary | |
|---|---|
protected HSBotModule |
hide
|
protected HSEvents |
hsEvents
|
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController |
|---|
act, aStar, body, combo, config, ctf, descriptors, fwMap, game, getBackToNavGraph, info, items, listenerRegistrator, move, navBuilder, navigation, navPoints, pathExecutor, pathPlanner, players, random, raycasting, runStraight, senses, shoot, stats, visibility, weaponPrefs, weaponry, world |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicController |
|---|
logicModule |
| Fields inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController |
|---|
bot, log, USER_LOG_CATEGORY_ID |
| Constructor Summary | |
|---|---|
UT2004BotHSController()
|
|
| Method Summary | |
|---|---|
HSBotModule |
getHideAndSeek()
Hide and seek module providing details about the game. |
protected void |
hsAssignSeeker(HSAssignSeeker event,
boolean me)
SEEKER role has been just assigned to some bot. |
protected void |
hsBotStateChanged(HSBotStateChanged event,
boolean me)
Some bot HSBotState has been updated. |
protected void |
hsPlayerScoreChanged(HSPlayerScoreChanged event,
boolean me)
Some player (runner/seeker) score has just changed, you may examine the reason within HSPlayerScoreChanged.getScoreChangeReason(), see
HSScoreChangeReason. |
protected void |
hsRoundEnd(HSRoundEnd event)
Round has just ended, you may use this event to cleanup your data-structures. |
protected void |
hsRoundStart(HSRoundStart event)
New round has just started, you may use this event to initialize your data-structures. |
protected void |
hsRoundState(HSRoundState event)
Round state update has been received. |
protected void |
hsRunnerCaptured(HSRunnerCaptured event,
boolean me)
Some RUNNER has just been captured by the SEEKER, i.e., seeker has spotted the runner and made it to the safe-area before the runner. |
protected void |
hsRunnerFouled(HSRunnerFouled event,
boolean me)
Some RUNNER has just been fouled-out because it stepped into the restricted-area while it was activated. |
protected void |
hsRunnerSafe(HSRunnerSafe event,
boolean me)
Some RUNNER has just made it to the safe-area. |
protected void |
hsRunnerSpotted(HSRunnerSpotted event,
boolean me)
Some RUNNER has just been spotted by the SEEKER. |
protected void |
hsRunnerSurvived(HSRunnerSurvived event,
boolean me)
Some RUNNER has just survived the round. |
protected void |
initializeModules(BOT bot)
|
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotModuleController |
|---|
finishControllerInitialization, getAStar, getBody, getCombo, getConfig, getDescriptors, getFwMap, getGame, getInfo, getItems, getMove, getNavBuilder, getNavigation, getPathExecutor, getPathPlanner, getPlayers, getRandom, getRaycasting, getSenses, getShoot, getStats, getVisibility, getWeaponPrefs, getWeaponry, getWorld, initializeController, initializeListeners, initializePathFinding |
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotLogicController |
|---|
beforeFirstLogic, getLogicInitializeTime, getLogicShutdownTime, initializeLogic, logic, logicInitialize, logicShutdown |
| Methods inherited from class cz.cuni.amis.pogamut.ut2004.bot.impl.UT2004BotController |
|---|
botFirstSpawn, botInitialized, botKilled, botShutdown, getAct, getBot, getInitializeCommand, getLog, getName, getPassword, getWorldView, prepareBot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface cz.cuni.amis.pogamut.ut2004.bot.IUT2004BotController |
|---|
botFirstSpawn, botInitialized, botKilled, botShutdown, getAct, getBot, getInitializeCommand, getLog, getPassword, getWorldView, prepareBot |
| Field Detail |
|---|
protected HSBotModule hide
protected HSEvents hsEvents
| Constructor Detail |
|---|
public UT2004BotHSController()
| Method Detail |
|---|
protected void initializeModules(BOT bot)
initializeModules in class UT2004BotModuleController<BOT extends UT2004Bot>
protected void hsRunnerSurvived(HSRunnerSurvived event,
boolean me)
This event is triggered at the end of the round for every RUNNER that has not been FOULED, CAPTURED and did not make it to SAFE area.
event -
protected void hsRunnerSpotted(HSRunnerSpotted event,
boolean me)
event -
protected void hsRunnerSafe(HSRunnerSafe event,
boolean me)
event -
protected void hsRunnerFouled(HSRunnerFouled event,
boolean me)
event - me - whether this event speaks about your bot
protected void hsRunnerCaptured(HSRunnerCaptured event,
boolean me)
event - me - whether this event speaks about your botprotected void hsRoundState(HSRoundState event)
event - protected void hsRoundStart(HSRoundStart event)
event - protected void hsRoundEnd(HSRoundEnd event)
event -
protected void hsPlayerScoreChanged(HSPlayerScoreChanged event,
boolean me)
HSPlayerScoreChanged.getScoreChangeReason(), see
HSScoreChangeReason.
event - me - whether this event speaks about your bot
protected void hsBotStateChanged(HSBotStateChanged event,
boolean me)
HSBotState has been updated.
event - me - whether this event speaks about your bot
protected void hsAssignSeeker(HSAssignSeeker event,
boolean me)
event - me - whether this event speaks about your botpublic HSBotModule getHideAndSeek()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||