Game Development Reference
In-Depth Information
Building a decision tree
Building a decision tree starts with instantiating an instance of a decision tree, creating
each branch within our tree, connecting the conditional branches, and adding actions:
SoldierLogic.lua :
function SoldierLogic_DecisionTree(userData)
local tree = DecisionTree.new();
return tree;
end
Search WWH ::




Custom Search