Example #1
0
 public void PlanAction(GoalSettingAction action) => Presented.PlanAction(action);
Example #2
0
        // Methods.

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

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

        public bool Contains(UnitPresentation unitPresentation) => Presented.Contains(unitPresentation);
Example #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);
Example #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);
Example #15
0
 public void PlanAction(ConditionChangingAction action) => Presented.PlanAction(action);
Example #16
0
 /// <summary>
 ///
 /// </summary>
 protected virtual void OnPresented()
 {
     Presented?.Invoke(this, new EventArgs());
 }
        // Enumeration.

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