Example #1
0
 public Situation(double emo)
 {
     this.emo      = emo;
     lockEmo       = false;
     favoritAction = EAction.moveForwar;
     forecasts     = new Dictionary <EAction, Dictionary <string, int> >();
 }
Example #2
0
        public CardViewForm(string strTitle, bool bIsModal, CardManage.Model.UserInfo objUserInfo, CardManage.Model.WindowSize objWindowSize = null, CardManage.Model.Flag objFlag = null)
            : base(strTitle, bIsModal, objUserInfo, objWindowSize, objFlag)
        {
            InitializeComponent();
            this.Text = strTitle;

            //初始化时扇区默认为1,不可编辑不可选择,扇区重置按钮默认不可见
            cbCHS.Items.Clear();
            cbCHS.Items.Add(RunVariable.CurrentSetting.OtherSetting.Chs);
            cbCHS.SelectedIndex = 0;

#if DEBUG
            cbCHS.Visible = true;
#else
            cbCHS.Visible = false;
#endif
            //_CurrentAction 判断是类型 是创建还是修改
            this._CurrentAction = (EAction)objFlag.Keyword1;
            if (objFlag.Keyword2 != null)
            {
                switch (this._CurrentAction)
                {
                case EAction.Create:
                    this._CurrentBuildingID = Convert.ToInt32(objFlag.Keyword2);
                    break;

                case EAction.Edit:
                    this._CurrentID = Convert.ToInt32(objFlag.Keyword2);
                    break;
                }
            }
            //渲染界面
            gbDebg.Visible = RunVariable.IfDebug;
        }
Example #3
0
        public static Command ConstructDialogueCommand(EAction action)
        {
            switch (action)
            {
            case EAction.None:
                return(null);

            case EAction.Quit:
                return(new Quit());

            case EAction.UpgradeForce:
                return(new ChangeStat <UpgradeForce>());

            case EAction.UpgradeMagic:
                return(new ChangeStat <UpgradeMagic>());

            case EAction.UpgradeJump:
                return(new ChangeStat <UpgradeJump>());

            case EAction.NextLevel:
                return(new NextLevel());

            case EAction.FightDemon:
                return(new FightDemon());

            case EAction.EndGame:
                return(new EndGame());
            }
            return(null);
        }
    private EAction currentState;                   //現在の状態

    void Start()
    {
        skillManager  = new SkillManager(skillModels);
        currentAction = ActionStateFactory.CreateActionState(EAction.Idle);
        currentAction.StartProcess(EAction.Idle);
        currentState = EAction.Idle;
    }
Example #5
0
        private void UpdateOneBone(Bone value, EAction eAction)
        {
            if (this.listBox1.InvokeRequired)
            {
                var d = new WindowsFormsControlLibrary.Threading.SafeCallDelegateUpdateBoneByClass(UpdateOneBone);
                this.Invoke(d, new object[] { value, eAction });
            }
            else
            {
                string      BoneName  = value.BoneName;
                List <Bone> arrayBone = this.listBox1.Items.Cast <Bone>().ToList();
                Bone        bone      = arrayBone.FirstOrDefault <Bone>(p => p.BoneName == BoneName);

                if (bone != null)
                {
                    if (bone.IsNeedUpdate(value, eAction))
                    {
                        int index = this.listBox1.Items.IndexOf(bone);
                        bone.Update(value.GetLineValue(eAction));
                        //this.listBox1.BeginUpdate();
                        this.listBox1.Items.RemoveAt(index);
                        this.listBox1.Items.Insert(index, bone);
                        //this.listBox1.EndUpdate();
                    }
                }
            }
        }
        public void AllowTraffic(List <string> ports, List <IPAddress> addresses)
        {
            if ((ports == null || ports.Count == 0) && (addresses == null || addresses.Count == 0))
            {
                defaultAction = EAction.Accept;
            }
            else
            {
                ports?.ForEach(port =>
                {
                    EProtocol protocol = EProtocol.TCP;
                    if (port.Contains('/'))
                    {
                        string[] split = port.Split('/');
                        port           = split[0];
                        protocol       = Enum.Parse <EProtocol>(split[1].ToUpper());
                    }
                    FirewallRules.Add(nextPort++, new FirewallRule
                    {
                        action      = EAction.Accept,
                        protocol    = protocol,
                        destination = new PortTarget(UInt16.Parse(port))
                    });
                });

                addresses?.ForEach(address =>
                {
                    FirewallRules.Add(nextPort++, new FirewallRule
                    {
                        action      = EAction.Accept,
                        destination = new IPTarget(address)
                    });
                });
            }
        }
    private int StackProcess(EAction noAction, EAction nowAction, Stack <int> from, Stack <int> to)
    {
        if (record[0] != noAction && from.Peek() < to.Peek())
        {
            to.Push(from.Pop());
            record[0] = nowAction;

            switch (nowAction)
            {
            case EAction.LToM:
                Move(to.Peek(), left, mid);
                break;

            case EAction.MToL:
                Move(to.Peek(), mid, left);
                break;

            case EAction.MToR:
                Move(to.Peek(), mid, right);
                break;

            case EAction.RToM:
                Move(to.Peek(), right, mid);
                break;

            default:
                break;
            }

            return(1);
        }

        return(0);
    }
Example #8
0
    public bool IsActionFull(EAction actionType)
    {
        DBItem db    = ZTConfig.Instance.GetDBAction(actionType);
        int    count = GetActionCountByType(actionType);

        return(count >= db.Data1);
    }
Example #9
0
    public void AddAction(EAction action, Character chara)
    {
        BattleAction newAction  = null;
        Character    playerPeek = m_PlayerCharacters.Peek();
        Character    enemyPeek  = m_EnnemyCharacters.Peek();

        switch (action)
        {
        case EAction.Attack:
            newAction = new Attack(chara.GetStrength(), chara, m_IsPlayerTurn ? enemyPeek : playerPeek);
            break;

        case EAction.Defense:
            newAction = new Defense(chara.GetMagic(), chara, chara);
            break;

        case EAction.Heal:
            newAction = new Heal(chara.GetMagic(), chara, m_IsPlayerTurn ? playerPeek : enemyPeek);
            break;

        case EAction.Protect:
            newAction = new Protect(chara, m_IsPlayerTurn ? playerPeek : enemyPeek);
            break;

        case EAction.Bound:
            newAction = new Bound(chara, m_IsPlayerTurn ? playerPeek : enemyPeek);
            break;
        }

        m_Actions.Enqueue(newAction);
    }
 public FirewallConfiguration(FirewallName name, CLIOptions options, EAction defaultAction = EAction.Drop)
 {
     this.name          = name;
     this.defaultAction = defaultAction;
     this.options       = options;
     AddDefaultRules();
 }
Example #11
0
 public TreeChangedEventArgs(EAction action, DockControl?dockcontrol = null, DockPane?pane = null, Branch?branch = null)
 {
     Action      = action;
     DockControl = dockcontrol;
     DockPane    = pane;
     Branch      = branch;
 }
Example #12
0
    public bool    IsActionFull(EAction type)
    {
        DAction actDB = ReadCfgAction.GetDataById(type);
        DItem   db    = ReadCfgItem.GetDataById(actDB.ItemID);
        int     count = GTDataManager.Instance.GetActionCountByType(type);

        return(count >= db.Data1);
    }
Example #13
0
        public KeySelectMenuEntry(EAction action, InputAction defaultKeys)
            : base(action+": ")
        {
            Key = defaultKeys.Keys!=null ? defaultKeys.Keys[0] : Keys.None;

            Action = action;
            _actionName = action.GetDescription();
        }
Example #14
0
        /// <summary>
        /// 执行下一步操作
        /// 返回:操作后的环境s'和当前的reward
        /// 1. 根据当前的s计算reward
        /// 2. 计算下一个s(s')
        /// </summary>
        public double[] Step(EAction action)
        {
            //1.
            //string s =


            //2.
            return(null);
        }
    /// <summary>
    /// 状態を切り替え
    /// </summary>
    private void ChangeActionState(EAction actionType)
    {
        EAction previous = currentState;                                            //現在の状態を記録

        currentState = actionType;                                                  //新状態を指定
        currentAction.EndProcess();                                                 //現在の行動を終了処理
        currentAction = ActionStateFactory.CreateActionState(currentState);         //新行動を指定
        currentAction.StartProcess(previous);                                       //行動を初期化処理
    }
Example #16
0
 internal override void OnCancelAction(EAction pAction)
 {
     switch (pAction)
     {
     case EAction.Item:
         DeselectItem();
         break;
     }
 }
Example #17
0
        public bool securityCheck(EAction action, ESecurity right)
        {
            if (_main.Startup != null)
            {
                Agent agent = Bl.BlSecurity.GetAuthenticatedUser();
                if (agent.RoleList != null)
                {
                    foreach (var role in agent.RoleList)
                    {
                        var actionFound = role.ActionList.Where(x => x.Name.Equals(action.ToString())).FirstOrDefault();
                        if (actionFound != null)
                        {
                            switch (right)
                            {
                            case ESecurity._Delete:
                                if (actionFound.Right.IsDelete)
                                {
                                    return(actionFound.Right.IsDelete);
                                }
                                break;

                            case ESecurity._Read:
                                if (actionFound.Right.IsRead)
                                {
                                    return(actionFound.Right.IsRead);
                                }
                                break;

                            case ESecurity._Update:
                                if (actionFound.Right.IsUpdate)
                                {
                                    return(actionFound.Right.IsUpdate);
                                }
                                break;

                            case ESecurity._Write:
                                if (actionFound.Right.IsWrite)
                                {
                                    return(actionFound.Right.IsWrite);
                                }
                                break;

                            case ESecurity.SendEmail:
                                if (actionFound.Right.IsSendMail)
                                {
                                    return(actionFound.Right.IsSendMail);
                                }
                                break;
                            }
                        }
                    }
                }
            }
            return(false);
        }
Example #18
0
 private void SetNumericUpDownControllValue(object sender, EAction eAction, decimal value)
 {
     if (eAction == EAction.Rotation)
     {
         SetNumericUpDownControllValue(sender, value % 360);
     }
     else
     {
         SetNumericUpDownControllValue(sender, value);
     }
 }
Example #19
0
 public Modifier(
     Id id_,
     EAction action_,
     MetricReference amount_,
     string modifierName_)
     : base(id_)
 {
     Action       = action_;
     Amount       = amount_;
     ModifierName = modifierName_;
 }
Example #20
0
 /// <summary>
 /// 打开查看Form
 /// </summary>
 /// <param name="strAction">动作,只支持Create和Edit动作</param>
 /// <param name="strKey">附带值</param>
 private void OpenViewForm(EAction eAction, string strKey)
 {
     if (eAction.Equals(EAction.Create) || eAction.Equals(EAction.Edit))
     {
         BuildingViewForm objModalForm = new BuildingViewForm((eAction.Equals(EAction.Create) ? this._DataTypeName + "资料创建" : this._DataTypeName + "资料修改"), true, this.CurrentUserInfo, new WindowSize(530, 371), new Flag(eAction, this._DataType, strKey));
         if (objModalForm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             //重新刷新列表
             BindLVData(0, this.CurrentSqlWhere);
         }
     }
 }
Example #21
0
 /// <summary>
 /// 打开查看Form
 /// </summary>
 /// <param name="strAction">动作,只支持Create和Edit动作</param>
 /// <param name="strKey">附带值</param>
 private void OpenViewForm(EAction eAction, string strKey)
 {
     if (eAction.Equals(EAction.Create) || eAction.Equals(EAction.Edit))
     {
         UserViewForm objModalForm = new UserViewForm((eAction.Equals(EAction.Create) ? "用户创建" : "用户修改"), true, this.CurrentUserInfo, new WindowSize(360, 320), new Flag(eAction, strKey));
         if (objModalForm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             //重新刷新列表
             BindLVData(0, this.CurrentSqlWhere);
         }
     }
 }
 /// <summary>
 /// Démarre une saisie d'objet SQL (implémentation de base ou custom client)
 /// </summary>
 /// <param name="validAction"></param>
 /// <param name="title"></param>
 private void BeginAddSqlObjectUpdateDisplay(EAction validAction, string title)
 {
     lblType.Text       = title;
     sqlTextBox1.Text   = currentObjectEdited.ObjectSql;
     lblResumes.Visible = true;
     lblResumes.Text    = string.Empty;
     SetRightPanel(ERightPanelMode.TextSqlEdition);
     ActionsFill(new List <EAction>()
     {
         validAction, EAction.Cancel
     }, 0);
 }
Example #23
0
 public void Write(IRepository repository, EAction action, string content)
 {
     repository.Add(new AD_LOG()
     {
         ID          = Guid.NewGuid(),
         ServiceName = VNPTHelper.GetServiceName(),
         UserName    = VNPTHelper.GetUserName(),
         ActionRec   = (int)action,
         CreateAt    = DateTime.Now,
         Data        = content
     });
 }
Example #24
0
 /// <summary>
 /// 打开查看Form
 /// </summary>
 /// <param name="strAction">动作,只支持Create和Edit动作</param>
 /// <param name="strKey">附带值</param>
 private void OpenViewForm(EAction eAction, string strKey)
 {
     if (eAction.Equals(EAction.Create) || eAction.Equals(EAction.Edit))
     {
         WindowSize   objSize      = RunVariable.IfDebug ? new WindowSize(801, 596) : new WindowSize(801, 371);
         CardViewForm objModalForm = new CardViewForm((eAction.Equals(EAction.Create) ? "卡片资料创建" : "卡片资料修改"), true, this.CurrentUserInfo, objSize, new Flag(eAction, strKey));
         if (objModalForm.ShowDialog() == System.Windows.Forms.DialogResult.OK)
         {
             //重新刷新列表
             BindLVData(0, this.CurrentSqlWhere);
         }
     }
 }
Example #25
0
    // Update is called once per frame
    void Update()
    {
        if (!IsDead)
        {
            _Velocity     = Velocity;
            _TurningAngle = 0;

            var input = _GetAction();
            _Inputs.Enqueue(input);

            _CurrentAction = _Inputs.Dequeue();

            if (_HasFlag(_CurrentAction, EAction.Left))
            {
                _TurningAngle = -TurningSpeed * Time.deltaTime;
            }

            if (_HasFlag(_CurrentAction, EAction.Right))
            {
                _TurningAngle = TurningSpeed * Time.deltaTime;
            }

            switch (_CurrentState)
            {
            case SheepState.Running:
                _RunningState();
                break;

            case SheepState.Jumping:
                _JumpingState();
                break;

            case SheepState.DoubleJumping:
                _DoubleJumpingState();
                break;

            case SheepState.Damaged:
                _DamagedState();
                break;

            case SheepState.Bounce:
                _BounceState();
                break;
            }

            transform.Translate(_Velocity * Time.deltaTime);
            transform.Rotate(new Vector3(0, 1, 0), _TurningAngle);

            _HandleShooting();
        }
    }
Example #26
0
        /// <summary>
        /// 指定の行動状態を作成するファクトリーデザインパターン
        /// </summary>
        /// <param name="actionType">アクションタイプ</param>
        /// <returns></returns>
        public static ICharaAction CreateActionState(EAction actionType)
        {
            switch (actionType)
            {
            case EAction.Attack:
                return(new AttackAction());

            case EAction.BackStep:
                return(new BackStepAction());

            default:
                return(new IdleAction());
            }
        }
Example #27
0
    public int    GetActionCountByType(EAction actionType)
    {
        switch (actionType)
        {
        case EAction.Manual:
            return(GetItemCountById(101));

        case EAction.Energy:
            return(GetItemCountById(102));

        default:
            return(0);
        }
    }
Example #28
0
    public DBItem GetDBAction(EAction actionType)
    {
        switch (actionType)
        {
        case EAction.Manual:
            return(GetDBItem(101));

        case EAction.Energy:
            return(GetDBItem(102));

        default:
            return(null);
        }
    }
Example #29
0
        public void Load()
        {
            try
            {
                var     fullPathFile = Path.Combine(Directory.GetParent(AppContext.BaseDirectory).FullName, SETTINGFILE);
                string  json         = File.ReadAllText(fullPathFile);
                dynamic jsonObj      = JsonConvert.DeserializeObject(json);

                formPositions          = jsonObj[nameof(FormPositions)]?.ToObject(typeof(FormPositions)) ?? new FormPositions();
                SqlTextWrap            = jsonObj[nameof(SqlTextWrap)]?.ToObject(typeof(bool)) ?? false;
                FVersionDBDefaultSceen = (EAction)(jsonObj[nameof(FVersionDBDefaultSceen)]?.ToObject(typeof(int)) ?? (int)EAction.ProjectScriptReload);
            }
            finally
            { }
        }
Example #30
0
 public void InputRead(EAction ActionInput)
 {
     if (ActionInput == EAction.NONE)
     {
         return;
     }
     else if (ActionInput == EAction.HUG)
     {
         TryHug ();
     }
     else
     {
         TryMove (ActionInput);
     }
 }
Example #31
0
    private UiPanelActionItem GetActionPanel(EAction pAction)
    {
        switch (pAction)
        {
        case EAction.Move:
            return(actionMove);

        case EAction.Item:
            return(actionItem);

        case EAction.PowerUp:
            return(actionPowerUp);
        }
        return(null);
    }
Example #32
0
 public static String EnumToString(EAction action)
 {
     switch (action)
     {
         case EAction.None:
             return "";
         case EAction.Moved:
             return "Moved";
         case EAction.Added:
             return "Added";
         case EAction.Deleted:
             return "Deleted";
         default:
             return "";
     }
 }
Example #33
0
    public int GetOneRemainSeconds(EAction actionType)
    {
        int index = 0;

        for (int i = 0; i < mActionKeyList.Count; i++)
        {
            int     key  = mActionKeyList[i];
            DBItem  db   = ZTConfig.Instance.GetDBItem(key);
            EAction type = ZTConfig.Instance.GetActionType(key);
            if (type == actionType)
            {
                index = i;
                break;
            }
        }
        return((int)(mNextActionTimes[index] - CurServerTime));
    }
Example #34
0
        protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e)
        {
            if (!dragging) return;
            if (Action == EAction.FreeCamera)
            {
                Vector2 screenDelta = new Vector2(Mouse.X - dragStartPoint.X, Mouse.Y - dragStartPoint.Y);
                Vector2 worldDelta = ModuleSharer.SceneMgr.Camera.VectorToWorld(screenDelta);
                Camera c = SceneManager.Camera;
                c.SetAbsFocus(new Vector2(c.Focus.X - worldDelta.X, c.Focus.Y - worldDelta.Y));
                dragStartPoint = new Point(Mouse.X, Mouse.Y);
            }
            else if (Action == EAction.Create)
            {
                Vector2 camDelta = new Vector2(Mouse.X - dragStartPoint.X, Mouse.Y - dragStartPoint.Y);
                Vector2 worldDelta = ModuleSharer.SceneMgr.Camera.VectorToScreen(camDelta);
                if (SelectedItem == null && worldDelta.X != 0 && worldDelta.Y != 0)
                {
                    // Create an instance
                    Item item = new Item(penTexturePath);
                    if (item == null)
                    {
                        Console.WriteLine("错误:Item创建失败");
                        return;
                    }

                    // Set an unique name
                    NameHelper.RestartNameInc(0);
                    String name = "";
                    bool occupied = true;
                    List<Item> allItems = SceneManager.GetAllItems();
                    while(occupied)
                    {
                        name = NameHelper.GetNextName("Item");
                        occupied = false;
                        foreach (Item i in allItems)
                        {
                            if (i.Name == name)
                                occupied = true;
                        }
                    }
                    item.Name = name;

                    // Resize to drag rectangle
                    item.Size = new Vector2(worldDelta.X, worldDelta.Y);
                    // Set initial position
                    Vector2 camDragPoint =
                        new Vector2(dragStartPoint.X, dragStartPoint.Y);
                    Vector2 worldDragPoint =  ModuleSharer.SceneMgr.Camera.PositionToWorld(camDragPoint);
                    Vector2 worldCreatePoint = new Vector2(worldDragPoint.X + item.Size.X / 2, worldDragPoint.Y + item.Size.Y / 2);

                    item.Position = worldCreatePoint;
                    // Add to scene
                    SceneManager.AddItem(SelectedGroup, item);

                    // Change to Transform tool immediately
                    action = EAction.Transform;
                    transType = ETransformType.BottomRight;
                    dragStartPoint = new Point(Mouse.X, Mouse.Y);
                    // Set current item to transform it
                    List<Item> il = new List<Item>();
                    il.Add(item);
                    SetSelectedItem(il);

                }
            }
            else if (Action == EAction.Select || Action == EAction.Delete)
            {
                Microsoft.Xna.Framework.Rectangle rect = new Microsoft.Xna.Framework.Rectangle(
                    (int)dragStartPoint.X, (int)dragStartPoint.Y, (int)(Mouse.X - dragStartPoint.X), (int)(Mouse.Y - dragStartPoint.Y));

                SetDrag(true, rect);
            }
            else if (Action == EAction.Transform && SelectedItem != null)
            {
                Vector2 screenDelta = new Vector2(Mouse.X - dragStartPoint.X, Mouse.Y - dragStartPoint.Y);
                Vector2 worldDelta = ModuleSharer.SceneMgr.Camera.VectorToWorld(screenDelta) ;
                SelectedItem.Transform(transType, worldDelta);
                dragStartPoint = new Point(Mouse.X, Mouse.Y);
            }
        }
Example #35
0
        protected override void OnMouseClick(System.Windows.Forms.MouseEventArgs e)
        {
            if (Action == EAction.Select)
            {
                Vector2 camPos = new Vector2(Mouse.X, Mouse.Y);
                Vector2 worldPos = ModuleSharer.SceneMgr.Camera.PositionToWorld(camPos);
                List<Item> items = SceneManager.SelectItem(worldPos);
                SetSelectedItem(items);
                if (items.Count != 0)
                {
                    action = EAction.Transform;
                }
            }
            else if (Action == EAction.Delete)
            {
                Vector2 camPos = new Vector2(Mouse.X, Mouse.Y);
                Vector2 worldPos = ModuleSharer.SceneMgr.Camera.PositionToWorld(camPos);
                List<Item> items = SceneManager.SelectItem(worldPos);
                if (items.Count != 0)
                {
                    SceneManager.DeleteItem(items[0]);
                    SetSelectedItem(null);
                }
            }

            base.OnMouseClick(e);
        }
 public SpectrumUndo(EAction act, SpectralPoint before, SpectralPoint after)
 {
     action = act;
     actionBefore = (before == null) ? null : new SpectralPoint(before);
     actionAfter = (after == null) ? null : new SpectralPoint(after);
 }
Example #37
0
 public void Add(EAction action, string source, string dest)
 {
     if (List != null)
     {
         List.Add(new Action(action, source, dest));
     }
 }
Example #38
0
 public Action(EAction action, string source, string dest)
     : this(action, source)
 {
     Dest = dest;
 }
Example #39
0
 public Action(EAction action, string source)
 {
     Source = source;
     EAction = action;
 }
 public AutoConversion(EAction action)
 {
     Action = action;
 }
Example #41
0
 public void SetAction(EAction action)
 {
     this.action = action;
     if (Action == EAction.Create)
     {
         SetSelectedItem(null);
     }
 }
Example #42
0
 protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e)
 {
     if (Action == EAction.FreeCamera || Action == EAction.Select || Action == EAction.Delete || Action == EAction.Create)
     {
         dragging = true;
         dragStartPoint = new Point(Mouse.X, Mouse.Y);
         // setSelectedItem(null);
     }
     else if (Action == EAction.Transform && SelectedItem != null)
     {
         Rectangle worldAABB = SelectedItem.GetAABB();
         Rectangle camAABB = ModuleSharer.SceneMgr.Camera.RectangleToScreen(worldAABB);
         Point p = new Point(Mouse.X, Mouse.Y);
         transType = TransHelper.CheckTransformRect(camAABB, new System.Drawing.Point(p.X, p.Y));
         if (transType != ETransformType.None)
         {
             dragStartPoint = p;
             dragging = true;
         }
         else
         {
             action = EAction.Select;
         }
     }
 }
Example #43
0
    void TryMove(EAction MoveDirection)
    {
        if (TimeSinceLastMove > MoveDelay)
        {
            bool bDisturbTile = (TimeSinceLastMove < MoveCooldown);
            bHasMoved = true;
            TimeSinceLastMove = 0;

            EDirection RelativeDirection = HelperFunctions.GetDirection(((int)MoveDirection + (int)LevelManager.ins.PlayerRotations[ID])%4);
            Tile Dest = CurrentTile.NeighbourInDirection (RelativeDirection);

            if (Dest != null)
            {
                CurrentTile.Exited();
                PreviousTile = CurrentTile;
                CurrentTile = Dest;
                MoveDistance = Vector3.Distance (PreviousTile.transform.position, CurrentTile.transform.position);
                MoveStartTime = Time.time;
            }

            CurrentTile.Entered (bDisturbTile);
        }
    }
 internal IntrinsicFunction(EAction action, object parameter)
 {
     Action = action;
     Parameter = parameter;
 }
 internal IntrinsicFunction(EAction action)
 {
     Action = action;
 }