File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 16
16
" --plugin=${workspaceFolder}/bazel-bin/external/ecsact_lang_cpp/cpp_meta_header_codegen/ecsact_cpp_meta_header_codegen" ,
17
17
" --plugin=${workspaceFolder}/bazel-bin/external/ecsact_lang_csharp/csharp_codegen/ecsact_csharp_codegen"
18
18
],
19
- "type" : " lldb " ,
19
+ "type" : " cppdbg " ,
20
20
"windows" : {
21
21
"type" : " cppvsdbg" ,
22
22
"program" : " ${workspaceFolder}/bazel-bin/cli/ecsact.exe"
Original file line number Diff line number Diff line change @@ -46,6 +46,21 @@ action Jump {
46
46
readwrite Velocity;
47
47
}
48
48
49
+ component Attacking {
50
+ entity target;
51
+ }
52
+
53
+ action Attack {
54
+ entity target;
55
+ adds Attacking;
56
+ }
57
+
58
+ system AttackDamage {
59
+ readonly Attacking with target {
60
+ readwrite Health;
61
+ }
62
+ }
63
+
49
64
system Gravity {
50
65
readwrite Position;
51
66
readwrite Velocity;
@@ -60,6 +75,19 @@ system Collision {
60
75
}
61
76
}
62
77
78
+ system PoisonCloudSpawner {
79
+ generates {
80
+ required Position;
81
+ required Poisonous;
82
+ }
83
+
84
+ generates {
85
+ required Position;
86
+ required Poisonous;
87
+ optional Health;
88
+ }
89
+ }
90
+
63
91
system {
64
92
readonly Position;
65
93
readonly Poisonous;
You can’t perform that action at this time.
0 commit comments