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/wordWin.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/wordWin.js')
-rw-r--r-- | src/entities/wordWin.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/entities/wordWin.js b/src/entities/wordWin.js index ed837d0..e8948ee 100644 --- a/src/entities/wordWin.js +++ b/src/entities/wordWin.js @@ -4,6 +4,7 @@ game.createWordWin = () => { wordWin.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); wordWin.addComponent(game.components.Pushable({pushable: true})); wordWin.addComponent(game.components.Alive()); - wordWin.addComponent(game.components.Sprite({spriteName: "wordWin"})) + wordWin.addComponent(game.components.Sprite({spriteName: "wordWin"})); + wordWin.addComponent(game.components.Verb({action: "win"})); return wordWin; } |