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