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:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user