blob: 6eb79ea51fcd3080f712ba13c621e82bdcf33b6d (
plain)
1
2
3
4
5
6
7
8
9
|
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.addComponent(game.components.Pushable({pushable: true}));
wordStop.addComponent(game.components.Alive());
wordStop.addComponent(game.components.Sprite({spriteName: "wordStop"}))
return wordStop;
}
|