ptrefall / fluid-hierarchical-task-network

A simple HTN planner based around the principles of the Builder pattern.
MIT License
344 stars 47 forks source link

Allow adding compound tasks without parameterless ctors #2

Closed TheSniperFan closed 5 years ago

TheSniperFan commented 5 years ago

By adding a second version of the CompoundTask() method in the BaseDomainBuilder, we can use it to create compound tasks that have more complex initialization. With the old implementation, only parameterless classes worked.