summaryrefslogtreecommitdiff
path: root/src/entities/wordWater.js
blob: ae4bb7cda1d4096eb52b76ef7a6cce2861ad2b85 (plain)
1
2
3
4
5
6
7
8
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.addComponent(game.components.Pushable({pushable: true}));
  wordWater.sprite = game.sprites.wordWater;
  return wordWater;
}