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:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user