The Event class is a temporally immediate message that is to be propagated to another object.
Constructor for an Event.
from
The id of the issuer of the event.
to
The id of the target of the event.
kind
The symbol that defines the kind of event.
msg
Optional information needed to process the event.
return
A reference to the Event.
# File lib/engine/event.rb, line 25 def initialize(from,to,kind,msg=nil) @from,@to,@kind,@msg=from,to,kind,msg end