roboplayer.sample
Class DummyPlayer

java.lang.Object
  |
  +--roboplayer.sample.DummyPlayer
All Implemented Interfaces:
SeeListener

public class DummyPlayer
extends java.lang.Object
implements SeeListener

Author:
Klangner This is simple player class. It is used to show how to Body class to connect to the server and receive messages.

Constructor Summary
DummyPlayer()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void onSee(java.lang.String info)
          see message will be send to this function
 void run()
           
 void updateSee()
          Because we can't receive see info in every cycle This function is send instead of on See to update see info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyPlayer

public DummyPlayer()
Method Detail

main

public static void main(java.lang.String[] args)

run

public void run()

onSee

public void onSee(java.lang.String info)
Description copied from interface: SeeListener
see message will be send to this function

Specified by:
onSee in interface SeeListener
Parameters:
info - see info

updateSee

public void updateSee()
Description copied from interface: SeeListener
Because we can't receive see info in every cycle This function is send instead of on See to update see info.

Specified by:
updateSee in interface SeeListener