class BulletGraphics
Public Instance Methods
draw(viewport)
click to toggle source
# File lib/entities/components/bullet_graphics.rb, line 2 def draw(viewport) image.draw(x - 8, y - 8, 1) Utils.mark_corners(object.box) if $debug end
Private Instance Methods
image()
click to toggle source
# File lib/entities/components/bullet_graphics.rb, line 9 def image @@bullet ||= Gosu::Image.new( $window, Utils.media_path('bullet.png'), false) end