summaryrefslogtreecommitdiff
path: root/src/entities/wordIs.js
blob: 15bcbea7fce3c1fc148437e3247bf168ec119421 (plain)
1
2
3
4
5
6
7
8
9
10
game.createWordIs = () => {
  const wordIs = game.Entity();
  wordIs.addComponent(game.components.LoadPriority({priority: 3}));
  wordIs.addComponent(game.components.Appearance({rot: 0, width: 100, height: 100}));
  // wordIs.addComponent(game.components.Stop({stop: true}));
  wordIs.addComponent(game.components.Pushable());
  wordIs.addComponent(game.components.Alive());
  wordIs.addComponent(game.components.Sprite({spriteName: "wordIs"}))
  return wordIs;
}