diff options
Diffstat (limited to 'src/entities')
-rw-r--r-- | src/entities/hedge.js | 1 | ||||
-rw-r--r-- | src/entities/wall.js | 1 | ||||
-rw-r--r-- | src/entities/wordBigBlue.js | 1 | ||||
-rw-r--r-- | src/entities/wordFlag.js | 1 | ||||
-rw-r--r-- | src/entities/wordIs.js | 1 | ||||
-rw-r--r-- | src/entities/wordKill.js | 1 | ||||
-rw-r--r-- | src/entities/wordLava.js | 2 | ||||
-rw-r--r-- | src/entities/wordPush.js | 1 | ||||
-rw-r--r-- | src/entities/wordRock.js | 1 | ||||
-rw-r--r-- | src/entities/wordSink.js | 1 | ||||
-rw-r--r-- | src/entities/wordStop.js | 1 | ||||
-rw-r--r-- | src/entities/wordWall.js | 1 | ||||
-rw-r--r-- | src/entities/wordWater.js | 1 | ||||
-rw-r--r-- | src/entities/wordWin.js | 1 | ||||
-rw-r--r-- | src/entities/wordYou.js | 1 |
15 files changed, 16 insertions, 0 deletions
diff --git a/src/entities/hedge.js b/src/entities/hedge.js index 1e5d482..ab5ef35 100644 --- a/src/entities/hedge.js +++ b/src/entities/hedge.js @@ -2,6 +2,7 @@ game.createHedge = () => { const hedge = game.Entity(); hedge.addComponent(game.components.LoadPriority({priority: 6})); hedge.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + hedge.addComponent(game.components.Stop({stop: true})); hedge.sprite = game.sprites.hedge; return hedge; } diff --git a/src/entities/wall.js b/src/entities/wall.js index d5167c4..73c3adb 100644 --- a/src/entities/wall.js +++ b/src/entities/wall.js @@ -2,6 +2,7 @@ game.createWall = () => { const wall = game.Entity(); wall.addComponent(game.components.LoadPriority({priority: 3})); wall.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wall.addComponent(game.components.Stop({stop: true})); wall.sprite = game.sprites.wall; return wall; } diff --git a/src/entities/wordBigBlue.js b/src/entities/wordBigBlue.js index b9ebb5e..d21e15c 100644 --- a/src/entities/wordBigBlue.js +++ b/src/entities/wordBigBlue.js @@ -2,6 +2,7 @@ game.createWordBigBlue = () => { const wordBigBlue = game.Entity(); wordBigBlue.addComponent(game.components.LoadPriority({priority: 3})); wordBigBlue.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordBigBlue.addComponent(game.components.Pushable({pushable: true})); wordBigBlue.sprite = game.sprites.wordBigBlue; return wordBigBlue; } diff --git a/src/entities/wordFlag.js b/src/entities/wordFlag.js index a2e1ca1..0a23da4 100644 --- a/src/entities/wordFlag.js +++ b/src/entities/wordFlag.js @@ -2,6 +2,7 @@ game.createWordFlag = () => { const wordFlag = game.Entity(); wordFlag.addComponent(game.components.LoadPriority({priority: 3})); wordFlag.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordFlag.addComponent(game.components.Pushable({pushable: true})); wordFlag.sprite = game.sprites.wordFlag; return wordFlag; } diff --git a/src/entities/wordIs.js b/src/entities/wordIs.js index 41263f4..02b31bd 100644 --- a/src/entities/wordIs.js +++ b/src/entities/wordIs.js @@ -2,6 +2,7 @@ game.createWordIs = () => { const wordIs = game.Entity(); wordIs.addComponent(game.components.LoadPriority({priority: 3})); wordIs.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordIs.addComponent(game.components.Stop({stop: true})); wordIs.sprite = game.sprites.wordIs; return wordIs; } diff --git a/src/entities/wordKill.js b/src/entities/wordKill.js index 1835f59..7bc0972 100644 --- a/src/entities/wordKill.js +++ b/src/entities/wordKill.js @@ -2,6 +2,7 @@ game.createWordKill = () => { const wordKill = game.Entity(); wordKill.addComponent(game.components.LoadPriority({priority: 3})); wordKill.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordKill.addComponent(game.components.Pushable({pushable: true})); wordKill.sprite = game.sprites.wordKill; return wordKill; } diff --git a/src/entities/wordLava.js b/src/entities/wordLava.js index 8c7780b..573dd29 100644 --- a/src/entities/wordLava.js +++ b/src/entities/wordLava.js @@ -2,6 +2,8 @@ game.createWordLava = () => { const wordLava = game.Entity(); wordLava.addComponent(game.components.LoadPriority({priority: 3})); wordLava.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordLava.addComponent(game.components.Pushable({pushable: true})); + wordLava.sprite = game.sprites.wordLava; return wordLava; } diff --git a/src/entities/wordPush.js b/src/entities/wordPush.js index c4294e6..bd4c267 100644 --- a/src/entities/wordPush.js +++ b/src/entities/wordPush.js @@ -2,6 +2,7 @@ game.createWordPush = () => { const wordPush = game.Entity(); wordPush.addComponent(game.components.LoadPriority({priority: 3})); wordPush.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordPush.addComponent(game.components.Pushable({pushable: true})); wordPush.sprite = game.sprites.wordPush; return wordPush; } diff --git a/src/entities/wordRock.js b/src/entities/wordRock.js index 66f4efb..be303c4 100644 --- a/src/entities/wordRock.js +++ b/src/entities/wordRock.js @@ -2,6 +2,7 @@ game.createWordRock = () => { const wordRock = game.Entity(); wordRock.addComponent(game.components.LoadPriority({priority: 3})); wordRock.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordRock.addComponent(game.components.Pushable({pushable: true})); wordRock.sprite = game.sprites.wordRock; return wordRock; } diff --git a/src/entities/wordSink.js b/src/entities/wordSink.js index 604d630..298778d 100644 --- a/src/entities/wordSink.js +++ b/src/entities/wordSink.js @@ -2,6 +2,7 @@ game.createWordSink = () => { const wordSink = game.Entity(); wordSink.addComponent(game.components.LoadPriority({priority: 3})); wordSink.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordSink.addComponent(game.components.Pushable({pushable: true})); wordSink.sprite = game.sprites.wordSink; return wordSink; } diff --git a/src/entities/wordStop.js b/src/entities/wordStop.js index ee43e38..30907d8 100644 --- a/src/entities/wordStop.js +++ b/src/entities/wordStop.js @@ -2,6 +2,7 @@ game.createWordStop = () => { const wordStop = game.Entity(); wordStop.addComponent(game.components.LoadPriority({priority: 3})); wordStop.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordStop.addComponent(game.components.Pushable({pushable: true})); wordStop.sprite = game.sprites.wordStop; return wordStop; } diff --git a/src/entities/wordWall.js b/src/entities/wordWall.js index ba97cec..6d4678b 100644 --- a/src/entities/wordWall.js +++ b/src/entities/wordWall.js @@ -2,6 +2,7 @@ game.createWordWall = () => { const wordWall = game.Entity(); wordWall.addComponent(game.components.LoadPriority({priority: 3})); wordWall.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordWall.addComponent(game.components.Pushable({pushable: true})); wordWall.sprite = game.sprites.wordWall; return wordWall; } diff --git a/src/entities/wordWater.js b/src/entities/wordWater.js index a33d8f3..ae4bb7c 100644 --- a/src/entities/wordWater.js +++ b/src/entities/wordWater.js @@ -2,6 +2,7 @@ game.createWordWater = () => { const wordWater = game.Entity(); wordWater.addComponent(game.components.LoadPriority({priority: 3})); wordWater.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordWater.addComponent(game.components.Pushable({pushable: true})); wordWater.sprite = game.sprites.wordWater; return wordWater; } diff --git a/src/entities/wordWin.js b/src/entities/wordWin.js index 67fbc41..f6386b9 100644 --- a/src/entities/wordWin.js +++ b/src/entities/wordWin.js @@ -2,6 +2,7 @@ game.createWordWin = () => { const wordWin = game.Entity(); wordWin.addComponent(game.components.LoadPriority({priority: 3})); wordWin.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordWin.addComponent(game.components.Pushable({pushable: true})); wordWin.sprite = game.sprites.wordWin; return wordWin; } diff --git a/src/entities/wordYou.js b/src/entities/wordYou.js index 574ba4d..2fe97d3 100644 --- a/src/entities/wordYou.js +++ b/src/entities/wordYou.js @@ -2,6 +2,7 @@ game.createWordYou = () => { const wordYou = game.Entity(); wordYou.addComponent(game.components.LoadPriority({priority: 3})); wordYou.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100})); + wordYou.addComponent(game.components.Pushable({pushable: true})); wordYou.sprite = game.sprites.wordYou; return wordYou; } |