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

java.lang.Objectcz.cuni.amis.pogamut.base.agent.module.AgentModule<AGENT>
cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule<UT2004Bot>
cz.cuni.amis.pogamut.ut2004.agent.module.sensomotoric.AdrenalineCombo
public class AdrenalineCombo
Simplifies performance of "adrenaline combos"
| Field Summary |
|---|
| Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.SensomotoricModule |
|---|
act, worldView |
| Fields inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule |
|---|
agent, controller, eventBus, log |
| Constructor Summary | |
|---|---|
AdrenalineCombo(UT2004Bot bot,
AgentInfo info)
|
|
AdrenalineCombo(UT2004Bot bot,
AgentInfo info,
Logger log)
|
|
| Method Summary | |
|---|---|
boolean |
canPerformCombo()
Tells whether you have adrenaline >= 100, note that using the combo won't change the adrenaline level in the same "logic-cycle". |
protected void |
cleanUp()
|
boolean |
performBerserk()
Perform "Berserk" combo (bigger damage). |
boolean |
performDefensive()
Perform "Defensive" combo (every few seconds adds health). |
boolean |
performInvisible()
Perform "Defensive" combo (bot is invisible and is very hard to spot), note that this combo does not affects PogamutBots ;-( |
boolean |
performSpeed()
Perform "Defensive" combo (bots speed is increased), not advised as it usually breaks running constants, which breaks bot navigation in turn. |
| Methods inherited from class cz.cuni.amis.pogamut.base.agent.module.AgentModule |
|---|
getComponentId, getLog, getState, initComponentId, isRunning, kill, pause, reset, resume, start, stop, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AdrenalineCombo(UT2004Bot bot,
AgentInfo info)
public AdrenalineCombo(UT2004Bot bot,
AgentInfo info,
Logger log)
| Method Detail |
|---|
public boolean canPerformCombo()
public boolean performBerserk()
public boolean performDefensive()
public boolean performInvisible()
public boolean performSpeed()
protected void cleanUp()
cleanUp in class AgentModule<UT2004Bot>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||