diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/evendoors/door.rb | 6 | ||||
-rw-r--r-- | lib/evendoors/room.rb | 2 | ||||
-rw-r--r-- | lib/evendoors/twirl.rb | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/evendoors/door.rb b/lib/evendoors/door.rb index 9807d46..a3936ba 100644 --- a/lib/evendoors/door.rb +++ b/lib/evendoors/door.rb @@ -23,10 +23,10 @@ module EvenDoors EvenDoors::Twirl.release_p p end # - def process p - @viewer.receive p if @viewer + def process_p p + @viewer.receive_p p if @viewer @saved = p - receive p + receive_p p if not @saved.nil? puts "application didn't give that particle back #{p}" if EvenDoors::Twirl.debug puts "\t#{p.data EvenDoors::ERROR_FIELD}" if p.action==EvenDoors::ACT_ERROR diff --git a/lib/evendoors/room.rb b/lib/evendoors/room.rb index 0ca43bd..8a7e4d9 100644 --- a/lib/evendoors/room.rb +++ b/lib/evendoors/room.rb @@ -109,7 +109,7 @@ module EvenDoors end end # - def process_sys p + def process_sys_p p if p.action==SYS_ACT_ADD_LINK add_link EvenDoors::Link.from_particle_data p end diff --git a/lib/evendoors/twirl.rb b/lib/evendoors/twirl.rb index 30ef169..5aa7d25 100644 --- a/lib/evendoors/twirl.rb +++ b/lib/evendoors/twirl.rb @@ -41,11 +41,11 @@ module EvenDoors while @sys_fifo.length>0 or @app_fifo.length>0 while @sys_fifo.length>0 p = @sys_fifo.shift - p.door.process_sys p + p.door.process_sys_p p end while @app_fifo.length>0 p = @app_fifo.shift - p.door.process p + p.door.process_p p end end end |