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