UP-Viagg-io/Viagg-io/Assets/Packages/MyBT/BT-Examples/_Testing/basic-runtree-4.bt.txt

31 lines
478 B
Plaintext

// comment a
Tree("Root") {
// comment b
Decorator (Repeat) {
// comment c
Composite (Marathon) {
// comment
RunTree("SubTree")
Composite (Sequence) {
Test.CountToNumber("a.a", 2)
RunTree("SubTree")
}
}
}
}
Tree("SubTree") {
Composite (Sequence) {
RunTree("SubSubTree")
Composite (Sequence) {
Test.CountToNumber("b.a", 3)
RunTree("SubSubTree")
}
}
}
Tree("SubSubTree") {
Composite (Sequence) {
Test.CountToNumber("x.b", 4)
}
}