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