cz.cuni.amis.pogamut.ut2004.examples.ctfbot
Class Goal

Package class diagram package Goal
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.examples.ctfbot.Goal
All Implemented Interfaces:
IGoal, Comparable<IGoal>
Direct Known Subclasses:
CloseInOnEnemy, GetEnemyFlag, GetHealth, GetItems, GetOurFlag

public abstract class Goal
extends Object
implements IGoal


Field Summary
protected  CTFBot bot
           
 
Constructor Summary
Goal(CTFBot bot)
           
 
Method Summary
 int compareTo(IGoal arg0)
          Reverse ordering, greater numbers first, lesser later
 
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.examples.ctfbot.IGoal
abandon, getPriority, hasFailed, hasFinished, perform
 

Field Detail

bot

protected CTFBot bot
Constructor Detail

Goal

public Goal(CTFBot bot)
Method Detail

compareTo

public int compareTo(IGoal arg0)
Reverse ordering, greater numbers first, lesser later

Specified by:
compareTo in interface Comparable<IGoal>


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