summaryrefslogtreecommitdiff
path: root/src/entities/wordBigBlue.js
blob: 537c52364278392433a7825e48ac538e0ad99f95 (plain)
1
2
3
4
5
6
7
8
9
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.addComponent(game.components.Alive());
  wordBigBlue.sprite = game.sprites.wordBigBlue;
  return wordBigBlue;
}