Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 protected override void OnDraw(IBatchRenderer sbatch)
 {
     SimpleRenderHelper.Draw9Patch(
         sbatch,
         _bounds,
         Color.White, Color.White, Color.White,
         Textures.TexGlassEdge, Textures.TexGlassCorner, Textures.TexGlassFill,
         CORNER_SIZE);
 }
Esempio n. 3
0
 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);
 }
Esempio n. 4
0
 protected override void OnDraw(IBatchRenderer sbatch)
 {
     SimpleRenderHelper.Draw9Patch(
         sbatch,
         _bounds,
         Color.White, Color.White, FlatColors.Concrete,
         Textures.TexMirrorBlockEdge, Textures.TexMirrorBlockCorner, Textures.TexPixel,
         CORNER_SIZE);
 }