blob: 89a3723e72f00a325912dd000d976e1025d7c843 (
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.addComponent(game.components.Sprite({spriteName: "wordYou"}))
return wordYou;
}
|