added canvas to engine

This commit is contained in:
Scott Davis 2011-06-12 01:34:33 -04:00
parent 7454e522a5
commit 6f95c9d17a

View File

@ -2,9 +2,10 @@ module Compass
module SassExtensions
module Sprites
class Engine
attr_accessor :width, :height, :images
attr_accessor :width, :height, :images, :canvas
def initialize(width, height, images)
@width, @height, @images = width, height, images
@canvas = nil
end
def construct_sprite