com.springrts.ai.oo
Class Log
java.lang.Object
com.springrts.ai.oo.Log
- All Implemented Interfaces:
- Comparable<Log>
public class Log
- extends Object
- implements Comparable<Log>
compareTo
public int compareTo(Log other)
- Specified by:
compareTo
in interface Comparable<Log>
equals
public boolean equals(Object otherObject)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
log
public void log(String msg)
- This will end up in infolog
exception
public void exception(String msg,
int severety,
boolean die)
- Inform the engine of an error that happend in the interface.
- Parameters:
msg
- error messageseverety
- from 10 for minor to 0 for fataldie
- if this is set to true, the engine assumes
the interface is in an irreparable state, and it will
unload it immediately.