chroma_solstice/artifact.lua

13 lines
221 B
Lua
Raw Normal View History

2015-03-14 05:36:02 -04:00
require "entity"
Artifact = class("Artifact", Entity)
function Artifact:initialize(x, y, color)
Entity.initialize(self, {
x = x,
y = y,
color = color,
2015-03-14 06:18:04 -04:00
collision = "unmoveable",
2015-03-14 05:36:02 -04:00
sprite = artifactSprite
})
end