# File state.rb, line 69 def initialize(fadeTo=nil, speed=1) $faded=false @image=Gosu::Image.new($window, $gglroot+"/media/black.bmp", true) @fading=false @speed=speed @fadeTo=fadeTo @color=Gosu::Color.new(0xffffffff) end