blob: 2fe97d33aaacb9655b46f9eea8bc1e4a71f28fda (
plain)
1
2
3
4
5
6
7
8
|
game.createWordYou = () => {
const wordYou = game.Entity();
wordYou.addComponent(game.components.LoadPriority({priority: 3}));
wordYou.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
wordYou.addComponent(game.components.Pushable({pushable: true}));
wordYou.sprite = game.sprites.wordYou;
return wordYou;
}
|