summaryrefslogtreecommitdiff
path: root/src/entities/wordKill.js
blob: 1835f5952b2f48805c8aa56db4a456115f84685e (plain)
1
2
3
4
5
6
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.sprite = game.sprites.wordKill;
  return wordKill;
}