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