Skip to content

bitDecayGames/BehaviorTree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BTree

A simple behavior tree implementation.

Quick Overview

Nodes

Behavior trees are composed of Nodes. There are 3 primary kinds of nodes:

  • Leaf Nodes: The 'business logic'. These are the terminal nodes in the tree and directly modify game state.
  • Composite Nodes: They contain multiple sub-nodes and have varying logic in how to decide which child node to select.
  • Decorator Nodes: They have a single child node and either modifies the context before calling child nodes, or modifies the result of the child node before returning.

Debugging

The -D btree compilation flag can be used to enable various logging.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages