blob: ee43e3853c1eef1e8bb33e5ba416bd5ef7a3ceef (
plain)
1
2
3
4
5
6
7
|
game.createWordStop = () => {
const wordStop = game.Entity();
wordStop.addComponent(game.components.LoadPriority({priority: 3}));
wordStop.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
wordStop.sprite = game.sprites.wordStop;
return wordStop;
}
|