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