diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-10 22:13:05 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-10 22:13:05 -0600 |
commit | 69b5f4448c1cbd00ebcb6f444f2434cc272b7e97 (patch) | |
tree | 02152d8eb67f1b4913222b412d72740f59808c7b /src/entities/wordIs.js | |
parent | a23ea2e014d140dbe9c090e6cf7d55906480c260 (diff) | |
download | bbiy-69b5f4448c1cbd00ebcb6f444f2434cc272b7e97.tar.gz bbiy-69b5f4448c1cbd00ebcb6f444f2434cc272b7e97.zip |
Unlimited undo; add spritename component instead of sprites on each entity; update canvas on game object
Diffstat (limited to 'src/entities/wordIs.js')
-rw-r--r-- | src/entities/wordIs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/wordIs.js b/src/entities/wordIs.js index ca00856..15bcbea 100644 --- a/src/entities/wordIs.js +++ b/src/entities/wordIs.js @@ -5,6 +5,6 @@ game.createWordIs = () => { // wordIs.addComponent(game.components.Stop({stop: true})); wordIs.addComponent(game.components.Pushable()); wordIs.addComponent(game.components.Alive()); - wordIs.sprite = game.sprites.wordIs; + wordIs.addComponent(game.components.Sprite({spriteName: "wordIs"})) return wordIs; } |