Пример #1
0
 public static void DrawBorderedRect(SpriteBatch sb, Color color, Color borderColor, Rectangle rect, int borderWidth)
 {
     HudHelpers.DrawBorderedRect(sb, color, new Color?(borderColor), rect, borderWidth);
 }
Пример #2
0
        ////////////////

        public static void DrawBorderedRect(SpriteBatch sb, Color color, Color borderColor, Vector2 position, Vector2 size, int borderWidth)
        {
            HudHelpers.DrawBorderedRect(sb, color, new Color?(borderColor), position, size, borderWidth);
        }