Exemplo n.º 1
0
 public MoveTo_SendArm(int id, int fromId, int toId, GuideMoveToPanel guidePanel, GuideStepAction stepAction)
 {
     this.id         = id;
     this.fromId     = fromId;
     this.toId       = toId;
     this.guidePanel = guidePanel;
     this.stepAction = stepAction;
 }
Exemplo n.º 2
0
        public void Close()
        {
            if (guidePanel != null)
            {
                guidePanel.CloseMoveTo(id);
            }

            War.signal.sHandDownBuild -= OnHandDownBuild;
            War.signal.sHandSendArm   -= OnHandSendArm;
            War.signal.sHandUpBuild   -= OnHandUpBuild;
            War.signal.sPause         -= Hide;
            War.signal.sResume        -= Show;

            guidePanel = null;
            mt         = null;
        }