lib/gamebox/core/actor.rb
# Propogates the reaction to all behaviors of the Actor.
# Any behavior can react to these messages.
#
# @see Behavior#reacts_with
Propogates the reaction to all behaviors of the Actor.
Any behavior can react to these messages.
Propogates the reaction to all behaviors of the Actor . Any behavior can react to these messages .
def react_to(message, *opts, &blk)
    @behaviors.values.each do |behavior|
      behavior.react_to(message, *opts, &blk)
    end
    nil
  end
def react_to ( message , * opts , & blk ) @behaviors . values . each do | behavior | behavior . react_to ( message , * opts , & blk ) end nil end
Propogates the reaction to all behaviors of the Actor.
Propogates the reaction to all behaviors of the Actor .
# TODO cache the values array?
message
<not_specific>
opts
<not_specific>
blk
<not_specific>
see
None