Show
Ignore:
Timestamp:
10/01/08 16:38:25 (3 months ago)
Author:
authorNari
Message:

add method state to Life

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/nario/nario/scene/flowworld.rb

    r20294 r20368  
    1717    def render(screen) 
    1818      @renders.each{|re| re.each{|o| o.put_screen(screen) if o.x < SCREEN_WIDTH } } 
    19       puts "player: x -> #{@player.x} y -> #{@player.y}" if $DEBUG_PLAYER_WATCH_MODE 
     19      puts "player: #{@player.state}" if $DEBUG_PLAYER_WATCH_MODE 
    2020      @player.put_screen(screen) 
    2121    end