Avoid calling the type constant TYPE.
Make a reasonable name for each. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@542 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -29,7 +29,7 @@ import flash.events.Event;
|
||||
public class MessageReceivedEvent extends EZEvent
|
||||
{
|
||||
/** The type of all MessageReceivedEvents. */
|
||||
public static const TYPE :String = "msgReceived";
|
||||
public static const MESSAGE_RECEIVED :String = "msgReceived";
|
||||
|
||||
/**
|
||||
* Access the message name.
|
||||
@@ -50,7 +50,7 @@ public class MessageReceivedEvent extends EZEvent
|
||||
public function MessageReceivedEvent (
|
||||
gameCtrl :Object, messageName :String, value :Object)
|
||||
{
|
||||
super(TYPE, gameCtrl);
|
||||
super(MESSAGE_RECEIVED, gameCtrl);
|
||||
_name = messageName;
|
||||
_value = value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user