Method: Chippunk::Object#draw

Defined in:
lib/chippunk/object.rb

#draw(canvas) ⇒ Object



66
67
68
69
70
71
# File 'lib/chippunk/object.rb', line 66

def draw(canvas)
  unless view.respond_to?(:draw)
    @shape.draw(canvas)
  end
  
end