Skip to content

API: Introduction to Receivers

TheCrownedFox edited this page Jun 11, 2013 · 6 revisions

Receivers provide a way to abstract data received by the Event. See here for more Information about event management.

The base interface for an InputReceiver is as follows:

// Interface SDK v0.0.5
public interface InputReceiver {
	public void receiveInput(EventType ev, Object data);
}

TODO:

  • Show sample Receiver (HandReceiver).
  • Describe benefits
  • Link to a sample that shows how InputReceiver is being used (SimpleModule)
Clone this wiki locally