diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-19 16:02:53 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-19 16:02:53 -0600 |
commit | 58ceff79496f60969eecb28a767b1ea28292becb (patch) | |
tree | 3a6acad4d9333aef2e18bb5d073e054926b20340 /src/entities/wordFlag.js | |
parent | 9b597426ac45775f63b1fe4365c6fa8f3c3179af (diff) | |
download | bbiy-58ceff79496f60969eecb28a767b1ea28292becb.tar.gz bbiy-58ceff79496f60969eecb28a767b1ea28292becb.zip |
Finish rule system; add burn and sink; particle effects on kill, sink
Diffstat (limited to 'src/entities/wordFlag.js')
-rw-r--r-- | src/entities/wordFlag.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities/wordFlag.js b/src/entities/wordFlag.js index bc2d782..79617ea 100644 --- a/src/entities/wordFlag.js +++ b/src/entities/wordFlag.js @@ -4,6 +4,7 @@ game.createWordFlag = () => { wordFlag.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); wordFlag.addComponent(game.components.Pushable({pushable: true})); wordFlag.addComponent(game.components.Alive()); - wordFlag.addComponent(game.components.Sprite({spriteName: "wordFlag"})) + wordFlag.addComponent(game.components.Sprite({spriteName: "wordFlag"})); + wordFlag.addComponent(game.components.Noun({select: "flag"})); return wordFlag; } |