The IBehaviourController type exposes the following members.

Methods

  NameDescription
Public methodStopWaitFor
Stops waiting for an event.
Public methodWaitFor<(Of <<'(T>)>>)()()()()
Waits indefinitely for an event of type T.
Public methodWaitFor<(Of <<'(T>)>>)(Double)
Waits for an event of type T. If timeout is reached first, returns null.
Public methodWaitFor<(Of <<'(T>)>>)(Func<(Of <<'(T, Boolean>)>>))
Waits indefinitely for an event of type T. When an event arrives, checkEventFunc is called, passing the event. If checkEventFunc returns true then the event is returned, otherwise it continues to wait.
Public methodWaitFor<(Of <<'(T>)>>)(Func<(Of <<'(T, Boolean>)>>), Double)
Waits for an event of type T that causes checkEventFunc to return true. Returns null if timeout is reached first.

Properties

  NameDescription
Public propertyWaitingForEvent
Gets a value indicating whether this Brain is waiting for event.

See Also