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:
Ray Greenwell
2008-01-08 01:36:18 +00:00
parent 6e5142f938
commit d198c25780
7 changed files with 12 additions and 12 deletions
@@ -32,7 +32,7 @@ import flash.geom.Point;
public class SizeChangedEvent extends EZEvent
{
/** The type of this event. */
public static const TYPE :String = "SizeChanged";
public static const SIZE_CHANGED :String = "SizeChanged";
/**
* Get the size of the game area, expressed as a Point
@@ -48,7 +48,7 @@ public class SizeChangedEvent extends EZEvent
*/
public function SizeChangedEvent (gameCtrl :Object, size :Point)
{
super(TYPE, gameCtrl);
super(SIZE_CHANGED, gameCtrl);
_size = size;
}