Inheritance: IDisposable
Beispiel #1
0
 private void BuildMinimap(RTSRenderer renderer, UICMinimap uic)
 {
     Minimap = new RTSUIMinimap(renderer, wrMain, renderer.Minimap.Terrain, null, uic);
     Minimap.WidgetBase.AlignX       = Alignment.RIGHT;
     Minimap.WidgetBase.AlignY       = Alignment.BOTTOM;
     Minimap.WidgetBase.OffsetAlignX = Alignment.RIGHT;
     Minimap.WidgetBase.OffsetAlignY = Alignment.BOTTOM;
     Minimap.WidgetBase.Parent       = rectBounds;
 }
Beispiel #2
0
 private void BuildMinimap(RTSRenderer renderer, UICMinimap uic)
 {
     Minimap = new RTSUIMinimap(renderer, wrMain, renderer.Minimap.Terrain, null, uic);
     Minimap.WidgetBase.AlignX = Alignment.RIGHT;
     Minimap.WidgetBase.AlignY = Alignment.BOTTOM;
     Minimap.WidgetBase.OffsetAlignX = Alignment.RIGHT;
     Minimap.WidgetBase.OffsetAlignY = Alignment.BOTTOM;
     Minimap.WidgetBase.Parent = rectBounds;
 }