It's not drawing the real tile/art assets yet, but handles enough of the model correctly to draw boxes for each base/object tile.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@928 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mike Thomas
2010-06-16 22:56:48 +00:00
parent 25ee5e9134
commit e42ebae867
9 changed files with 322 additions and 7 deletions
@@ -0,0 +1,22 @@
package com.threerings.miso.client {
import as3isolib.display.primitive.IsoBox;
import as3isolib.graphics.SolidColorFill;
public class BaseTileIsoSprite extends IsoBox
{
public function BaseTileIsoSprite (x :int, y :int, tileId :int)
{
width = 1;
height = VERT_OFFSET;
length = 1;
moveTo(x, y, -VERT_OFFSET);
// TEMP
fill = new SolidColorFill(tileId * 1000, 1.0);
}
protected static const VERT_OFFSET :Number = 0.01;
}
}