public void AddLayer(SortableLayer sortableLayer, Layer masterLayer) { if (masterLayer == null) { masterLayer = LayersWritable[0]; } masterLayer.Add(sortableLayer); }
public void Add(LineRectangle lineRectangle, Layer layer) { if (layer == null) { layer = Renderer.LayersWritable[0]; } mRectangles.Add(lineRectangle); layer.Add(lineRectangle); }
public void Add(Text text, Layer layer) { if (layer == null) { layer = Renderer.LayersWritable[0]; } mTexts.Add(text); #if !TEST layer.Add(text); #endif }
public void Add(InvisibleRenderable renderable, Layer layer = null) { invisibleRenderables.Add(renderable); #if !TEST if (layer == null) { layer = Renderer.LayersWritable[0]; } layer.Add(renderable); #endif }
public void Add(Sprite sprite, Layer layer = null) { mSprites.Add(sprite); #if !TEST if (layer == null) { layer = Renderer.LayersWritable[0]; } layer.Add(sprite); #endif }
public void Add(NineSlice nineSlice, Layer layer = null) { mNineSlices.Add(nineSlice); #if !TEST if (layer == null) { layer = Renderer.LayersWritable[0]; } layer.Add(nineSlice); #endif }
public void Add(LineGrid lineGrid, Layer layer = null) { if (layer == null) { layer = Renderer.LayersWritable[0]; } mGrids.Add(lineGrid); layer.Add(lineGrid); }
public void Add(SolidRectangle solidRectangle, Layer layer = null) { if (layer == null) { layer = Renderer.LayersWritable[0]; } mSolidRectangles.Add(solidRectangle); layer.Add(solidRectangle); }
public void Add(LineCircle lineCircle, Layer layer) { mCircles.Add(lineCircle); if (layer == null) { layer = Renderer.LayersWritable[0]; } layer.Add(lineCircle); }
public void Add(Line line, Layer layer = null) { if(layer == null) { layer = Renderer.LayersWritable[0]; } mLines.Add(line); layer.Add(line); }