summaryrefslogtreecommitdiff
path: root/src/entities/lava.js
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-19 16:02:53 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-19 16:02:53 -0600
commit58ceff79496f60969eecb28a767b1ea28292becb (patch)
tree3a6acad4d9333aef2e18bb5d073e054926b20340 /src/entities/lava.js
parent9b597426ac45775f63b1fe4365c6fa8f3c3179af (diff)
downloadbbiy-58ceff79496f60969eecb28a767b1ea28292becb.tar.gz
bbiy-58ceff79496f60969eecb28a767b1ea28292becb.zip
Finish rule system; add burn and sink; particle effects on kill, sink
Diffstat (limited to 'src/entities/lava.js')
-rw-r--r--src/entities/lava.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/lava.js b/src/entities/lava.js
index 4a88f69..e529812 100644
--- a/src/entities/lava.js
+++ b/src/entities/lava.js
@@ -4,6 +4,6 @@ game.createLava = () => {
lava.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
lava.addComponent(game.components.Alive());
lava.addComponent(game.components.Sprite({spriteName: "lava"}))
-
+ lava.addComponent(game.components.Name({selector: "lava"}));
return lava;
}