Introduction of Zone goal classes

This commit is contained in:
FlightControl_Master
2017-10-06 14:44:28 +02:00
parent 5c56e75a60
commit 020f097584
97 changed files with 89248 additions and 2104 deletions

View File

@@ -1,4 +1,4 @@
--- **Core** -- Base class that models processes to achieve goals.
--- **Core (WIP)** -- Base class to allow the modeling of processes to achieve Goals.
--
-- ====
--
@@ -30,15 +30,12 @@ do -- Goal
--
-- ### 2.1 GOAL States
--
-- * **Off**: The goal is not timely measured.
-- * **On**: The goal is timely being measured.
-- * **Achieved**: The objective is achieved.
-- * **Pending**: The goal object is in progress.
-- * **Achieved**: The goal objective is Achieved.
--
-- ### 2.2 GOAL Events
--
-- * **@{#GOAL.Start}()**: Start Measuring the Goal.
-- * **@{#GOAL.Stop}()**: Stop Measuring the Goal.
-- * **@{#GOAL.IsAchieved}()**: Check if the Goal is Achieved.
-- * **Achieved**: Set the goal objective to Achieved.
--
-- @field #GOAL
GOAL = {

View File

@@ -1,4 +1,4 @@
--- **Functional** -- Base class that models processes to capture a Zone for a Coalition, guarded by another Coalition.
--- **Functional (wIP)** -- Base class that models processes to capture a Zone for a Coalition, guarded by another Coalition.
--
-- ====
--

View File

@@ -1,8 +1,9 @@
--- **Functional** -- Base class that models processes to achieve goals involving a Zone.
--- **Functional (WIP)** -- Base class that models processes to achieve goals involving a Zone.
--
-- ====
--
-- ZONE_GOAL models processes that have an objective with a defined achievement involving a Zone. Derived classes implement the ways how the achievements can be realized.
-- ZONE_GOAL models processes that have a Goal with a defined achievement involving a Zone.
-- Derived classes implement the ways how the achievements can be realized.
--
-- ====
--
@@ -20,7 +21,8 @@ do -- Zone
--- # ZONE_GOAL class, extends @{Fsm#FSM}
--
-- ZONE_GOAL models processes that have an objective with a defined achievement involving a Zone. Derived classes implement the ways how the achievements can be realized.
-- ZONE_GOAL models processes that have a Goal with a defined achievement involving a Zone.
-- Derived classes implement the ways how the achievements can be realized.
--
-- ## 1. ZONE_GOAL constructor
--
@@ -30,13 +32,11 @@ do -- Zone
--
-- ### 2.1 ZONE_GOAL States
--
-- * **Empty**: The Zone is Empty.
-- * **Guarded**: The Zone is Guarded.
-- * None: Initial State
--
-- ### 2.2 ZONE_GOAL Events
--
-- * **@{#ZONE_GOAL.Guard}()**: Set the Zone to Guarded.
-- * **@{#ZONE_GOAL.Empty}()**: Set the Zone to Empty.
-- * DestroyedUnit: A @{Unit} is destroyed in the Zone. The event will only get triggered if the method @{#ZONE_GOAL.MonitorDestroyedUnits}() is used.
--
-- @field #ZONE_GOAL
ZONE_GOAL = {
@@ -57,7 +57,6 @@ do -- Zone
self.SmokeTime = nil
self:AddTransition( "*", "DestroyedUnit", "*" )
--- DestroyedUnit Handler OnAfter for ZONE_GOAL

View File

@@ -1,4 +1,4 @@
--- **Functional** -- Base class that models processes to achieve goals involving a Zone for a Coalition.
--- **Functional (WIP)** -- Base class that models processes to achieve goals involving a Zone for a Coalition.
--
-- ====
--
@@ -46,12 +46,6 @@ do -- ZoneGoal
--
-- ### 2.3 ZONE_GOAL_COALITION State Machine
--
--
--
-- Hello | World
-- ------|------
-- Test|Test2
--
-- @field #ZONE_GOAL_COALITION
ZONE_GOAL_COALITION = {
ClassName = "ZONE_GOAL_COALITION",