Emergency 20 Dokumentation  4.2.0
ActionPriority.h
Go to the documentation of this file.
1 // Copyright (C) 2012-2018 Promotion Software GmbH
2 
3 
4 //[-------------------------------------------------------]
5 //[ Header guard ]
6 //[-------------------------------------------------------]
7 #pragma once
8 
9 
10 //[-------------------------------------------------------]
11 //[ Namespace ]
12 //[-------------------------------------------------------]
13 namespace em5
14 {
15  namespace action
16  {
17 
18 
20  enum Priority
21  {
22  NONE = 0,
23  IDLE = 10,
24 
26 
30 
34 
36  DANGER_URGENT = 120,
37 
38  COMMAND_LOW = 140,
39  COMMAND_STD = 150,
40  COMMAND_HIGH = 160,
41 
42  BLOCKING = 200
43  };
44 
45 
46 //[-------------------------------------------------------]
47 //[ Namespace ]
48 //[-------------------------------------------------------]
49  } // action
50 } // em5
Definition: ActionPriority.h:13
Distraction by a potential dangerous threat.
Definition: ActionPriority.h:29
Distraction by social interaction.
Definition: ActionPriority.h:28
Distraction action of a harmless kind, like a point of interest.
Definition: ActionPriority.h:27
Daily routine action.
Definition: ActionPriority.h:25
Self-injected automatism for units, with medium priority.
Definition: ActionPriority.h:32
Self-injected automatism for units, with high priority.
Definition: ActionPriority.h:33
No action at all.
Definition: ActionPriority.h:22
Current action is thought to block all others and cannot be replaced.
Definition: ActionPriority.h:42
Pure idle action.
Definition: ActionPriority.h:23
Self-injected automatism for units, with low priority.
Definition: ActionPriority.h:31
User-injected action with high priority.
Definition: ActionPriority.h:40
Reaction to an immanent threat like an attack or direct damage.
Definition: ActionPriority.h:36
User-injected action with medium priority.
Definition: ActionPriority.h:39
Reaction to a threat in sight, like retreat or taking cover.
Definition: ActionPriority.h:35
Priority
Definition: ActionPriority.h:20
User-injected action with low priority.
Definition: ActionPriority.h:38