Method: CEML::Incident#log

Defined in:
lib/ceml/models/incident.rb

#log(state) ⇒ Object



28
29
30
31
32
33
34
35
# File 'lib/ceml/models/incident.rb', line 28

def log state
  p = @this
  instr = seq[pc]
  guyroles = roles.to_a - [:everyone, :players, :them, :all, :either, :each, :agents, :both]
  instr ||= []

  # CEML.log 3, "#{p[:id]}: #{state} -- #{instr[1]}/#{instr[0]} -- #{instr[2].inspect} -- #{id}##{pc}(#{guyroles})"
end