Пример #1
0
 protected virtual void adjustedDepthDraw(Drawable dbl, TileDrawInfo tdi, SpriteBatch sb)
 {
     float origDepth = dbl.depth;
     dbl.depth = tdi.getAdjustedDepth(origDepth);
     dbl.draw(sb, tdi.pos, tdi.scale, Color.White, 0);
     dbl.depth = origDepth;
 }