summaryrefslogtreecommitdiff
path: root/src/entities/wordKill.js
blob: 8ea04d9300a276d26318a3b12e0343300e198ca4 (plain)
1
2
3
4
5
6
7
8
9
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.addComponent(game.components.Alive());
  wordKill.addComponent(game.components.Sprite({spriteName: "wordKill"}))
  return wordKill;
}