Added door sprite
This commit is contained in:
parent
11f5d50964
commit
24778c18e1
|
@ -20,5 +20,4 @@ func on_impact(collision):
|
||||||
if collision.collider.has_method("get_type") && collision.collider.get_type() == "player":
|
if collision.collider.has_method("get_type") && collision.collider.get_type() == "player":
|
||||||
var c = collision.collider
|
var c = collision.collider
|
||||||
c.health -= damage
|
c.health -= damage
|
||||||
print(collision.collider)
|
|
||||||
queue_free()
|
queue_free()
|
||||||
|
|
BIN
art/door.png
Normal file
BIN
art/door.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 764 B |
Loading…
Reference in a new issue