Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.runouw.ll.engine.levelData.items.data.trigger
- {
- import com.runouw.ll.engine.GameEngine;
- import com.runouw.ll.engine.levelData.items.core.Item;
- import flash.display.MovieClip;
- public class TriggerFunction
- {
- public var index:int;
- public var sequence:FunctionSequence;
- public function TriggerFunction(param1:int, param2:FunctionSequence)
- {
- super();
- this.index = param1;
- this.sequence = param2;
- }
- public function decode(param1:Array) : void
- {
- }
- public function old_decode(param1:Array) : void
- {
- }
- public function encode() : String
- {
- return "";
- }
- public function call() : int
- {
- return this.index + 1;
- }
- public function reset() : void
- {
- }
- public function getName() : String
- {
- return "TODO: get name of: [object TriggerFunction]";
- }
- protected function getLinkage(param1:String, param2:Boolean = false) : Vector.<Item>
- {
- var _loc3_:* = null;
- if(FunctionSequence.isSelfTag(param1))
- {
- _loc3_ = new Vector.<Item>();
- _loc3_.push(this.sequence.selfReference);
- }
- else if(param2)
- {
- _loc3_ = GameEngine.getLinkageFromGlobal(param1);
- }
- else
- {
- _loc3_ = GameEngine.getLinkage(param1);
- }
- return _loc3_;
- }
- protected function getLinkageFromGlobal(param1:String) : Vector.<Item>
- {
- return this.getLinkage(param1,true);
- }
- public function getIconNum() : int
- {
- return 0;
- }
- public function showDisplay(param1:MovieClip) : void
- {
- param1.gotoAndStop(1);
- }
- public function displayEnterFrame(param1:MovieClip) : void
- {
- }
- public function removeDisplay(param1:MovieClip) : void
- {
- param1.gotoAndStop(1);
- }
- public function ldMove(param1:Number, param2:Number) : void
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement