blob: 49a00445a9c93bf66a2f62f6a85f9b66d2f873a4 (
plain)
1
2
3
4
5
6
7
8
9
|
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.addComponent(game.components.Alive());
wordYou.sprite = game.sprites.wordYou;
return wordYou;
}
|