diff options
author | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-18 21:07:55 -0600 |
---|---|---|
committer | Logan Hunt <loganhunt@simponic.xyz> | 2022-04-18 21:07:55 -0600 |
commit | 9b597426ac45775f63b1fe4365c6fa8f3c3179af (patch) | |
tree | 0768f5aebcd9ef9f60824f389e1e197f32e4e578 /src/entities/wordRock.js | |
parent | 1cffeb5520e416893a93545dc4356365b762a1f7 (diff) | |
download | bbiy-9b597426ac45775f63b1fe4365c6fa8f3c3179af.tar.gz bbiy-9b597426ac45775f63b1fe4365c6fa8f3c3179af.zip |
Wow this is some shitty fucking code god damn
Diffstat (limited to 'src/entities/wordRock.js')
-rw-r--r-- | src/entities/wordRock.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/entities/wordRock.js b/src/entities/wordRock.js index 0897e35..648f6ba 100644 --- a/src/entities/wordRock.js +++ b/src/entities/wordRock.js @@ -4,6 +4,7 @@ game.createWordRock = () => { wordRock.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); wordRock.addComponent(game.components.Pushable({pushable: true})); wordRock.addComponent(game.components.Alive()); - wordRock.addComponent(game.components.Sprite({spriteName: "wordRock"})) + wordRock.addComponent(game.components.Sprite({spriteName: "wordRock"})); + wordRock.addComponent(game.components.Noun({select: "rock"})); return wordRock; -} +}; |