Ejemplo n.º 1
0
 public void PlanAction(GoalSettingAction action) => Presented.PlanAction(action);
Ejemplo n.º 2
0
        // Methods.

        public bool CheckIfUsable(UnitPresentation target) => Presented.CheckIfUsable(target);
Ejemplo n.º 3
0
 public void PlanAction(AttackUsageAction action) => Presented.PlanAction(action);
Ejemplo n.º 4
0
 public void PlanAction(MotionUsageAction action) => Presented.PlanAction(action);
Ejemplo n.º 5
0
 public void PlanAction(MovementAction action) => Presented.PlanAction(action);
Ejemplo n.º 6
0
 public void PlanAction(RotationAction action) => Presented.PlanAction(action);
Ejemplo n.º 7
0
        // Action processing.

        public void PlanAction(DamageCausingAction action) => Presented.PlanAction(action);
        // Methods.

        public bool Contains(UnitPresentation unitPresentation) => Presented.Contains(unitPresentation);
Ejemplo n.º 9
0
        // Informational methods.

        public List <Vector2Int> TryFindShortestPath(Vector2Int origin, Vector2Int destination) =>
        Presented.TryFindShortestPath(origin, destination);
        // Usage.

        public bool CheckIfUsable(Vector3 destination) => Presented.CheckIfUsable(destination);
Ejemplo n.º 11
0
        // Methods.

        public void ExecuteAfterUpdate(Action action) => Presented.ExecuteLater(action);
 public void PlanAction(UnitRemovalAction action) => Presented.PlanAction(action);
 public void PlanAction(UnitMotionAction action) => Presented.PlanAction(action);
 public Vector2Int GetNearestRealPosition(Vector3 point) => Presented.GetNearestRealPosition(point);
Ejemplo n.º 15
0
 public void PlanAction(ConditionChangingAction action) => Presented.PlanAction(action);
Ejemplo n.º 16
0
 /// <summary>
 ///
 /// </summary>
 protected virtual void OnPresented()
 {
     Presented?.Invoke(this, new EventArgs());
 }
        // Enumeration.

        public IEnumerator <UnitPresentation> GetEnumerator()
        {
            return(Presented.GetEnumerator());
        }