refactor generic code in levels

This commit is contained in:
Juraj Michalek
2015-12-27 20:06:38 +01:00
parent aa9fbd8f58
commit 7ca021b51b
4 changed files with 76 additions and 38 deletions

8
js/app/level-02.js Normal file
View File

@@ -0,0 +1,8 @@
var level2 = {};
level2.create = function(context) {
// Define finish coordinates
context.finishMarker.x = 8*64;
context.finishMarker.y = 2*64;
}