Skip to content

Behavior3 client library for Delphi (Behavior Trees for Delphi)

License

Notifications You must be signed in to change notification settings

Dennis1000/behavior3delphi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

behavior3delphi

behavior3delphi is a Behavior3 client library for Delphi (Behavior Trees for Delphi) based on behavior3js.

Contents

Core Classes

This library includes the following core structures

  • BehaviorTree: the structure that represents a Behavior Tree
  • Blackboard: represents a "memory" in an agent and is required to to run a BehaviorTree
  • Composite: base class for all composite nodes
  • Decorator: base class for all decorator nodes
  • Action: base class for all action nodes
  • Condition: base class for all condition nodes
  • Tick: used as container and tracking object through the tree during the tick signal
  • BaseNode: the base class that provide all common node features

Nodes

Composite Nodes:

  • Sequence
  • Priority
  • MemSequence
  • MemPriority

Decorators:

  • Inverter
  • Limiter
  • MaxTime
  • Repeater
  • RepeaterUntilFailure
  • RepeaterUntilSuccess

Actions:

  • Succeeder
  • Failer
  • Error
  • Runner
  • Wait

Building

Either include all units (incl. those found in the Actions/Composites/Core/Decorators directories) or install and compile the Behavior3Delphi.dpk package (in the \Package folder) and set Link with runtime packages to true in the project options (Packages -> Runtime Packages) of your project.

Copyright and license

Copyright 2016 by Dennis D. Spreen [email protected]. Code released under the MIT license.

About

Behavior3 client library for Delphi (Behavior Trees for Delphi)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages