mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 09:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,40 @@
|
||||
package quest
|
||||
{
|
||||
import flash.events.Event;
|
||||
|
||||
public class QuestEvent extends Event
|
||||
{
|
||||
|
||||
public static const LOAD_SFX:String = "QuestEventLoadSfx";
|
||||
|
||||
public static const PLAY_SFX:String = "QuestEventPlaySfx";
|
||||
|
||||
public static const TORCH:String = "QuestEventTorch";
|
||||
|
||||
public static const TRIGGER_CAMERASHAKE:String = "QuestEventTriggerCameraShake";
|
||||
|
||||
private var _secondaryType:String;
|
||||
|
||||
public function QuestEvent(param1:String, param2:String = "")
|
||||
{
|
||||
super(param1,true,false);
|
||||
_secondaryType = param2;
|
||||
}
|
||||
|
||||
override public function clone() : Event
|
||||
{
|
||||
return new QuestEvent(type);
|
||||
}
|
||||
|
||||
override public function toString() : String
|
||||
{
|
||||
return formatToString("QuestEvent",type,_secondaryType);
|
||||
}
|
||||
|
||||
public function get secondaryType() : String
|
||||
{
|
||||
return _secondaryType;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user