boxes n walls n movement etcgit status
This commit is contained in:
parent
9763040c99
commit
2772ec2563
10 changed files with 318 additions and 45 deletions
15
door.lua
Normal file
15
door.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
require "entity"
|
||||
|
||||
Door = class("Door", Entity)
|
||||
|
||||
function Door:initialize()
|
||||
|
||||
end
|
||||
|
||||
function Door:unloc()
|
||||
self.collision = "none"
|
||||
end
|
||||
|
||||
function Door:loc()
|
||||
self.collision = "unmoveable"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue