blob: eb0c1bede01faf015e2949d1bf35450fe5ccaf4f (
plain)
1
2
3
4
5
6
7
8
9
10
|
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"}));
wordWater.addComponent(game.components.Noun({select: "water"}));
return wordWater;
}
|