proto3 initial commit

This commit is contained in:
Segey Lapin
2020-04-13 12:45:25 +03:00
parent 69410badf6
commit 1084b6d5c3
1588 changed files with 368852 additions and 23 deletions

View File

@@ -0,0 +1,16 @@
extends BTBase
class_name BTSelector
func tick(tick: Tick) -> int:
var result := OK #if we have no children, assume success
for child in get_children():
var _result = child._execute(tick)
assert(typeof(_result) == TYPE_INT)
result = _result
if not result == FAILED:
break
return result