summaryrefslogtreecommitdiff
path: root/src/entities/wordIs.js
blob: 41263f445327b82aa14eb2344cd4f1991d998554 (plain)
1
2
3
4
5
6
7
game.createWordIs = () => {
  const wordIs = game.Entity();
  wordIs.addComponent(game.components.LoadPriority({priority: 3}));
  wordIs.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
  wordIs.sprite = game.sprites.wordIs;
  return wordIs;
}