first mapeditor test

This commit is contained in:
Josef Konrad 2012-06-03 13:41:46 +02:00
parent 8d0ff1a929
commit 8da2299c08
13 changed files with 605 additions and 0 deletions

14
Editor/script/Button.js Normal file
View file

@ -0,0 +1,14 @@
// Button Class
function Button(x, y, width, height, callback)
{
this.x = x;
this.y = y;
this.width = width;
this.height = height;
this.callback = callback;
this.Press = function()
{
this.callback.call();
};
}