active-logic / activelogic-cs

Behavior Trees and Case Logic for C#7
GNU Affero General Public License v3.0
106 stars 7 forks source link

`Do`, `Cont`, `Fail` and `Try` #33

Closed eelstork closed 3 years ago

eelstork commented 3 years ago

In places, AL has object-context functions looking like:

action Do(object arg){ return @void(); }

These functions serve no purpose other than integrating (mostly assignment calls) with expression bodied members, however they are still useful. As part of updating certainties, it would be nice to look into this.

Considerations:

eelstork commented 3 years ago

Certainties have improved so, above APIs will return certainties and hopefully explicit conversions can be avoided in most cases.

May open a separate issue for a Try syntax. Does not seem relevant to booleans, only nullable.

eelstork commented 3 years ago

Reopening because this needs updating docs

eelstork commented 3 years ago

Closing with ref to #66 and #53