cleaned branch

This commit is contained in:
logsol 2012-07-17 11:33:37 +02:00
parent 6b5a689662
commit b155faa63c
606 changed files with 0 additions and 13749 deletions

20
editor/script/Tile.js Normal file
View file

@ -0,0 +1,20 @@
// Tile Class
function Tile(x, y, tile, rotation)
{
this.x = x;
this.y = y;
this.tile = tile;
this.rotation = rotation;
this.toString = function()
{
if(this.rotation == 0)
{
return '<tile shape="' + this.tile + '" x="' + this.x + '" y="' + this.y + '" />';
}
else
{
return '<tile shape="' + this.tile + '" x="' + this.x + '" y="' + this.y + '" rotation="' + this.rotation + '" />';
}
};
}