summaryrefslogtreecommitdiff
path: root/src/entities/wordWater.js
blob: c6404bf2b82721ed2a0ca0d87ee7ec5d25e86134 (plain)
1
2
3
4
5
6
7
8
9
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.addComponent(game.components.Alive());
  wordWater.addComponent(game.components.Sprite({spriteName: "wordWater"}))
  return wordWater;
}