Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 174 Bytes
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