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