Back to project page killingspree.
The source code is released under:
MIT License
If you think the Android project killingspree listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.sillygames.killingSpree.helpers; /* w w w . jav a 2 s . com*/ public class Event { public enum State { CONNECTED, DISCONNECTED, RECEIVED }; public State state; public Object object; public Event() { super(); } public Event set(State state, Object object) { this.state = state; this.object = object; return this; } }