Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 9 lines (8 sloc) 0.174 kb
1 2 3 4 5 6 7 8 9
module Screen
  def draw(surface, x, y)
    SDL::Surface.blit(surface.sprite, 0, 0, 0, 0, self, x, y)
  end

  def self.sprite_for(file)
    SDL::Surface.load file
  end
end
Something went wrong with that request. Please try again.