39 lines
622 B
Plaintext
39 lines
622 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 ( 1 )
|
|
Test.Print ( "a" )
|
|
//Test.Print ( "b")
|
|
//Test.Print ("c" )
|
|
//Test.Print ("d")
|
|
//Test.Print( "e" )
|
|
//Test.Print( "f")
|
|
//Test.Print("g" )
|
|
//Test.Print("h")
|
|
//Test.Print (
|
|
// "i"
|
|
// )
|
|
Test.Succeed()
|
|
// Test.Wait(0.5)
|
|
}
|
|
}
|
|
}
|