29 lines
403 B
Plaintext
29 lines
403 B
Plaintext
// comment
|
|
Tree("Root") {
|
|
// comment
|
|
Decorator (Repeat) {
|
|
// comment
|
|
Composite (Sequence) {
|
|
// comment
|
|
RunTree("SubTree")
|
|
RunTree("SubTree")
|
|
RunTree("SubTree")
|
|
RunTree("SubTree")
|
|
}
|
|
}
|
|
}
|
|
|
|
Tree("SubTree") {
|
|
Decorator (ReturnSucceed) {
|
|
Composite (Sequence) {
|
|
Decorator (Inverter) {
|
|
Test.Fail()
|
|
}
|
|
Test.Print("s")
|
|
Test.Succeed()
|
|
// Test.Wait(0.5)
|
|
|
|
}
|
|
}
|
|
}
|