blob: 30907d8e0d3329d36e7d6b3551abb4a9133ba20f (
plain)
1
2
3
4
5
6
7
8
|
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.sprite = game.sprites.wordStop;
return wordStop;
}
|