Ez game stuff, javafied.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@63 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2006-08-25 01:58:11 +00:00
parent 64550318e9
commit ebcaedeb5a
20 changed files with 1431 additions and 23 deletions
@@ -0,0 +1,37 @@
package com.threerings.ezgame;
public class MessageReceivedEvent extends EZEvent
{
public MessageReceivedEvent (
EZGame ezgame, String messageName, Object value)
{
super(ezgame);
_name = messageName;
_value = value;
}
/**
* Access the message name.
*/
public String getName ()
{
return _name;
}
/**
* Access the message value.
*/
public Object getValue ()
{
return _value;
}
public String toString ()
{
return "[MessageReceivedEvent name=" + _name +
", value=" + _value + "]";
}
protected String _name;
protected Object _value;
}