added canvas to engine
This commit is contained in:
parent
7454e522a5
commit
6f95c9d17a
@ -2,9 +2,10 @@ module Compass
|
|||||||
module SassExtensions
|
module SassExtensions
|
||||||
module Sprites
|
module Sprites
|
||||||
class Engine
|
class Engine
|
||||||
attr_accessor :width, :height, :images
|
attr_accessor :width, :height, :images, :canvas
|
||||||
def initialize(width, height, images)
|
def initialize(width, height, images)
|
||||||
@width, @height, @images = width, height, images
|
@width, @height, @images = width, height, images
|
||||||
|
@canvas = nil
|
||||||
end
|
end
|
||||||
|
|
||||||
def construct_sprite
|
def construct_sprite
|
||||||
|
Loading…
Reference in New Issue
Block a user