home *** CD-ROM | disk | FTP | other *** search
- package classes.game
- {
- import classes.basic.Button.TFButton;
- import flash.display.MovieClip;
-
- public class MainCharActionButton extends TFButton
- {
-
-
- public function MainCharActionButton(param1:MovieClip, param2:Function)
- {
- super(param1,param2);
- param1.mcQueue.visible = false;
- }
-
- public function setQueue(param1:Number) : *
- {
- if(param1 > 0)
- {
- movieClip.mcQueue.visible = true;
- movieClip.mcQueue.mcText.text = String(param1);
- }
- else
- {
- movieClip.mcQueue.visible = false;
- }
- }
- }
- }
-