lib/y_petri/agent.rb in y_petri-2.2.4 vs lib/y_petri/agent.rb in y_petri-2.3.2
- old
+ new
@@ -1,16 +1,16 @@
# encoding: utf-8
require_relative 'agent/selection'
require_relative 'agent/hash_key_pointer'
-require_relative 'agent/petri_net_related'
-require_relative 'agent/simulation_related'
+require_relative 'agent/petri_net_aspect'
+require_relative 'agent/simulation_aspect'
-# Public command interface of YPetri.
+# A dumb agent that represents and helps the user.
#
class YPetri::Agent
- ★ PetriNetRelated # ★ means include
- ★ SimulationRelated
+ ★ PetriNetAspect # ★ means include
+ ★ SimulationAspect
attr_reader :world
def initialize
@world = YPetri::World.new