Render the tile grid when rendering coordinates.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2282 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: IsoSceneView.java,v 1.132 2003/02/12 05:46:05 mdb Exp $
|
// $Id: IsoSceneView.java,v 1.133 2003/02/14 22:10:48 mdb Exp $
|
||||||
|
|
||||||
package com.threerings.miso.client;
|
package com.threerings.miso.client;
|
||||||
|
|
||||||
@@ -377,6 +377,9 @@ public class IsoSceneView implements SceneView
|
|||||||
str = String.valueOf(ty);
|
str = String.valueOf(ty);
|
||||||
xpos = sx + thw - (fm.stringWidth(str) / 2);
|
xpos = sx + thw - (fm.stringWidth(str) / 2);
|
||||||
gfx.drawString(str, xpos, sy + thh + fhei);
|
gfx.drawString(str, xpos, sy + thh + fhei);
|
||||||
|
|
||||||
|
// draw the tile polygon as well
|
||||||
|
gfx.draw(IsoUtil.getTilePolygon(_model, tx, ty));
|
||||||
}
|
}
|
||||||
|
|
||||||
// move one tile to the right
|
// move one tile to the right
|
||||||
|
|||||||
Reference in New Issue
Block a user