2022-04-01 17:43:56 -06:00
|
|
|
game.createWordWater = () => {
|
|
|
|
const wordWater = game.Entity();
|
2022-04-04 18:30:11 -06:00
|
|
|
wordWater.addComponent(game.components.LoadPriority({priority: 3}));
|
2022-04-01 17:43:56 -06:00
|
|
|
wordWater.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
|
2022-04-04 18:30:11 -06:00
|
|
|
wordWater.sprite = game.sprites.wordWater;
|
2022-04-01 17:43:56 -06:00
|
|
|
return wordWater;
|
|
|
|
}
|