chroma_solstice/player.lua
2015-03-12 05:13:04 -04:00

21 lines
No EOL
300 B
Lua

require "entity"
Player = class("Player", Entity)
function Player:initialize(x, y, color)
Entity.initialize(self, {
x = x,
y = y,
sizeX = 1,
sizeY = 1,
color = color,
collision = "none", --player can't push other player
sprite = playerSprite
})
end
function Player:update()
end