summaryrefslogtreecommitdiff
path: root/src/entities/wordWall.js
blob: ba97cec9820fe0d3e96cbdc6feecb6280cde3fbd (plain)
1
2
3
4
5
6
7
game.createWordWall = () => {
  const wordWall = game.Entity();
  wordWall.addComponent(game.components.LoadPriority({priority: 3}));
  wordWall.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
  wordWall.sprite = game.sprites.wordWall;
  return wordWall;
}