Sha256: 28bb3fa57de860a140371cef4d4dfaca97b4dc72a58223ad3af85ed3d9fdec88

Contents?: true

Size: 365 Bytes

Versions: 14

Compression:

Stored size: 365 Bytes

Contents

# -*- coding: utf-8 -*-


require 'xot/block_util'
require 'reflex/ext'


module Reflex


  class DrawEvent < Event

    def paint(&block)
      Xot::BlockUtil.instance_eval_or_block_call painter, &block if block
    end

    def inspect()
      "#<Reflex::DrawEvent painter:#{painter} bounds:#{bounds} dt:#{dt} fps:#{fps}>"
    end

  end# DrawEvent


end# Reflex

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
reflexion-0.1.35 lib/reflex/draw_event.rb
reflexion-0.1.34 lib/reflex/draw_event.rb
reflexion-0.1.33 lib/reflex/draw_event.rb
reflexion-0.1.32 lib/reflex/draw_event.rb
reflexion-0.1.31 lib/reflex/draw_event.rb
reflexion-0.1.30 lib/reflex/draw_event.rb
reflexion-0.1.29 lib/reflex/draw_event.rb
reflexion-0.1.28 lib/reflex/draw_event.rb
reflexion-0.1.27 lib/reflex/draw_event.rb
reflexion-0.1.26 lib/reflex/draw_event.rb
reflexion-0.1.25 lib/reflex/draw_event.rb
reflexion-0.1.24 lib/reflex/draw_event.rb
reflexion-0.1.23 lib/reflex/draw_event.rb
reflexion-0.1.22 lib/reflex/draw_event.rb