io.write("Rock-Maker included!\n")

--
-- required files:
--  * rock.png
--
-- use with:
--  Rock:new(x, y);
--

Rock = {
	gfx = bs.gfx.load("rock.png");
	obj_cnt = 0
};
function Rock:new(x, y)
	local obj = {};
    setmetatable(obj, self);
	self.__index = self;
	obj.fgobject = bs.obj.new((x-1)*32, (y-1)*32, obj.gfx, "visible, killing");
	self.obj_cnt = self.obj_cnt + 1;
	self[self.obj_cnt] = obj;
end
