public static void DrawGlassWall(IBatchRenderer sbatch, FRotatedRectangle rect) { SimpleRenderHelper.Draw9Patch( sbatch, rect, Color.White, Color.White, Color.White, Textures.TexGlassEdge, Textures.TexGlassCorner, Textures.TexGlassFill, GlassBlock.CORNER_SIZE); }
protected override void OnDraw(IBatchRenderer sbatch) { SimpleRenderHelper.Draw9Patch( sbatch, _bounds, Color.White, Color.White, Color.White, Textures.TexGlassEdge, Textures.TexGlassCorner, Textures.TexGlassFill, CORNER_SIZE); }
public static void DrawMirrorWall(IBatchRenderer sbatch, FRotatedRectangle rect) { SimpleRenderHelper.Draw9Patch( sbatch, rect, Color.White, Color.White, FlatColors.Concrete, Textures.TexMirrorBlockEdge, Textures.TexMirrorBlockCorner, Textures.TexPixel, MirrorBlock.CORNER_SIZE); }
protected override void OnDraw(IBatchRenderer sbatch) { SimpleRenderHelper.Draw9Patch( sbatch, _bounds, Color.White, Color.White, FlatColors.Concrete, Textures.TexMirrorBlockEdge, Textures.TexMirrorBlockCorner, Textures.TexPixel, CORNER_SIZE); }