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