BBIY/src/entities/wordWater.js

8 lines
293 B
JavaScript
Raw Normal View History

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;
}