Method: BoxGraphics#draw

Defined in:
lib/entities/components/box_graphics.rb

#draw(viewport) ⇒ Object



7
8
9
10
# File 'lib/entities/components/box_graphics.rb', line 7

def draw(viewport)
  @box.draw_rot(x, y, 0, object.angle)
  Utils.mark_corners(object.box) if $debug
end