Changeset 132 for pycodeshooter/trunk/shooter
- Timestamp:
- 05/05/12 05:39:04 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pycodeshooter/trunk/shooter/system.js
r131 r132 595 595 * Initializer 596 596 */ 597 function initGame(canvas, msg, playerData ) {597 function initGame(canvas, msg, playerData, scoreCallback) { 598 598 System.screen.canvas = canvas; 599 599 System.message = msg; … … 681 681 -0.5) 682 682 ]; 683 684 if (trooper.isDead() && scoreCallback) { 685 scoreCallback(trooper.name, System.score[trooper.name]); 686 } 683 687 }); 684 688
Note: See TracChangeset
for help on using the changeset viewer.