Skip to content

Instantly share code, notes, and snippets.

@hex13
Created November 8, 2014 14:30
Show Gist options
  • Save hex13/be9aa797d16a96e105e2 to your computer and use it in GitHub Desktop.
Save hex13/be9aa797d16a96e105e2 to your computer and use it in GitHub Desktop.
game.add.sprite(10, 100, 'jednostka_1');
// kod inicjalizujacy jednostke 1...
game.add.sprite(10, 100, 'jednostka_2');
// kod inicjalizujacy jednostke 2...
game.add.sprite(10, 100, 'jednostka_3');
// kod inicjalizujacy jednostke 3...
...
game.add.sprite(10, 100, 'jednostka_n');
// kod inicjalizujacy jednostke n...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment