class BehaviorTree::Node::Action(State, Effect)

Defined in:

behavior_tree/node/action.cr

Constructors

Instance Method Summary

Instance methods inherited from class BehaviorTree::Node::Node(State, Effect)

run(state : State) : Tuple(Bool, Array(Tuple(String, Effect))) run

Constructor Detail

def self.new(name : String, action : State -> Tuple(Bool, Effect)) #

[View source]

Instance Method Detail

def run(state : State) : Tuple(Bool, Array(Tuple(String, Effect))) #

[View source]