Ejemplo n.º 1
0
 public void GetInputDataAndStart(ComandDataBase comandData)
 {
     if (GetInputData(comandData))
     {
         StartCommando();
     }
 }
Ejemplo n.º 2
0
        protected override bool GetInputData(ComandDataBase comandData)
        {
            ComandDataMove comandDataMove = comandData as ComandDataMove;

            if (comandDataMove != null)
            {
                _targetVector3 = comandDataMove.Vector3;

                _isPfGet = comandDataMove.IsMoveByPathFind;

                if (comandDataMove.TransformParent != null)
                {
                    _parentTransform = comandDataMove.TransformParent;
                }
                else
                {
                    _parentTransform = null;
                }

                return(true);
            }

            return(false);
        }
Ejemplo n.º 3
0
        //public bool IsNeededProdlenie { get; protected set; }
        //public bool IsProdlena { get; set; }

        protected virtual bool GetInputData(ComandDataBase comandData)
        {
            return(false);
        }
Ejemplo n.º 4
0
 public void ComandCreate(ComandDataBase comandData, IFacade targetFacade)
 {
     targetFacade.ComandGet(comandData);
 }