kaos.robots.naimtsimulator
Class CLI
java.lang.Object
kaos.robots.naimtsimulator.CLI
- All Implemented Interfaces:
- java.lang.Runnable
public class CLI
- extends java.lang.Object
- implements java.lang.Runnable
Constructor Summary |
CLI()
|
CLI(boolean robotsConnectToKaos)
|
CLI(java.io.PrintWriter periodicPrinter)
|
CLI(java.io.PrintWriter periodicPrinter,
boolean robotsConnectToKaos)
|
CLI(Simulator sim)
|
CLI(Simulator sim,
java.io.BufferedReader reader,
java.io.PrintStream printer)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLI
public CLI()
CLI
public CLI(boolean robotsConnectToKaos)
CLI
public CLI(java.io.PrintWriter periodicPrinter)
CLI
public CLI(java.io.PrintWriter periodicPrinter,
boolean robotsConnectToKaos)
CLI
public CLI(Simulator sim)
CLI
public CLI(Simulator sim,
java.io.BufferedReader reader,
java.io.PrintStream printer)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
stop
public void stop()
process
public void process(java.lang.String command)
prompt
public void prompt()
getObject
public SimObject getObject(int index)
getStatsFor
public java.lang.String getStatsFor(SimObject obj)
startWatching
public void startWatching(double period,
int index,
MobileObject obj)
startListening
public void startListening(double period,
Bot bot)
startViewing
public void startViewing(Bot bot)
startViewing
public void startViewing()
stopWatching
public void stopWatching(SimObject obj)