summaryrefslogtreecommitdiff
path: root/src/entities/wordLava.js
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-05 14:54:34 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-05 14:54:34 -0600
commit545e129c7411714e7b40c742a23409629c9f767f (patch)
tree7576214f20d35230a1769843d06dfb9ed2b09af6 /src/entities/wordLava.js
parentdee568c51dbf2393aa7bd75f4241602af8022a2c (diff)
downloadbbiy-545e129c7411714e7b40c742a23409629c9f767f.tar.gz
bbiy-545e129c7411714e7b40c742a23409629c9f767f.zip
Add stop component; entites are stackable when they arrive at a stop component. Maybe this is wrong?
Diffstat (limited to 'src/entities/wordLava.js')
-rw-r--r--src/entities/wordLava.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/wordLava.js b/src/entities/wordLava.js
index 8c7780b..573dd29 100644
--- a/src/entities/wordLava.js
+++ b/src/entities/wordLava.js
@@ -2,6 +2,8 @@ game.createWordLava = () => {
const wordLava = game.Entity();
wordLava.addComponent(game.components.LoadPriority({priority: 3}));
wordLava.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
+ wordLava.addComponent(game.components.Pushable({pushable: true}));
+
wordLava.sprite = game.sprites.wordLava;
return wordLava;
}