rearranged repo structure

This commit is contained in:
logsol 2012-06-30 20:36:16 +02:00
parent 908a9dd43d
commit 5f5178d2e8
572 changed files with 27633 additions and 568 deletions

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 + '" />';
}
};
}