From 9b597426ac45775f63b1fe4365c6fa8f3c3179af Mon Sep 17 00:00:00 2001 From: Logan Hunt Date: Mon, 18 Apr 2022 21:07:55 -0600 Subject: Wow this is some shitty fucking code god damn --- src/entities/wordRock.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/entities/wordRock.js') 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; -} +}; -- cgit v1.2.3-70-g09d2