Files
narya/src/as/com/threerings/util/ConfigValueSetEvent.as
T
Ray Greenwell aedd77c17c Dispatch an event when config values change.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4603 542714f4-19e9-0310-aa3c-eee0fc999fb1
2007-02-26 20:11:40 +00:00

35 lines
689 B
ActionScript

package com.threerings.util {
import flash.events.Event;
/**
* Dispatched whenever a config value is changed.
*/
public class ConfigValueSetEvent extends Event
{
/** The type of a ConfigValueSetEvent. */
public static const TYPE :String = "ConfigValSet";
/** The name of the config value set. */
public var name :String;
/** The new value. */
public var value :Object;
/**
*/
public function ConfigValueSetEvent (name :String, value :Object)
{
super(TYPE);
this.name = name;
this.value = value;
}
override public function clone () :Event
{
return new ConfigValueSetEvent(name, value);
}
}
}