Skip to content

Instantly share code, notes, and snippets.

@barning
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barning/9589048 to your computer and use it in GitHub Desktop.
Save barning/9589048 to your computer and use it in GitHub Desktop.
Level
int level;
void restart () {
map = new Map( "karte"+level+".map");
}
void draw (){
restart();
}
void mousePressed() {
level= level+1;
}
@barning
Copy link
Author

barning commented Mar 16, 2014

The code is just for presentation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment