2022-04-01 17:43:56 -06:00
|
|
|
game.createWordSink = () => {
|
|
|
|
const wordSink = game.Entity();
|
2022-04-04 18:30:11 -06:00
|
|
|
wordSink.addComponent(game.components.LoadPriority({priority: 3}));
|
2022-04-01 17:43:56 -06:00
|
|
|
wordSink.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
|
2022-04-04 18:30:11 -06:00
|
|
|
wordSink.sprite = game.sprites.wordSink;
|
2022-04-01 17:43:56 -06:00
|
|
|
return wordSink;
|
|
|
|
}
|