core
Class InputSimulatorThread

java.lang.Object
  extended by core.InputSimulatorThread
All Implemented Interfaces:
Runnable

public class InputSimulatorThread
extends Object
implements Runnable

Initiate this class to simulate input to the Teacher client, and set the IsSimulating boolean in Constants to TRUE. Implemented for testing purposes. Replace the code in the run() method to simulate desired actions and situations.

Author:
Terje

Field Summary
(package private)  LectureGame lega
           
 
Constructor Summary
InputSimulatorThread(LectureGame lega)
           
 
Method Summary
 void run()
          Replace this method with any method calls on the lega object to simulate any thinkable input.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lega

LectureGame lega
Constructor Detail

InputSimulatorThread

public InputSimulatorThread(LectureGame lega)
Method Detail

run

public void run()
Replace this method with any method calls on the lega object to simulate any thinkable input. Use the thread.sleep method to simulate time intervals. Refer to the LectureGame class documentation for a desription of available methods.

Specified by:
run in interface Runnable