From 80b19bd8bd00f371fe06bcf0c4af61865d5fd466 Mon Sep 17 00:00:00 2001 From: REDCODE Date: Sat, 13 Jun 2026 23:37:19 +0200 Subject: [PATCH] Labs to LabelMap --- 2DGAMELIB/_2DGAMELIB/{Labs.cs => LabelMap.cs} | 4 ++-- SlaveMatrix/SlaveMatrix/GameClasses/Mods.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename 2DGAMELIB/_2DGAMELIB/{Labs.cs => LabelMap.cs} (91%) diff --git a/2DGAMELIB/_2DGAMELIB/Labs.cs b/2DGAMELIB/_2DGAMELIB/LabelMap.cs similarity index 91% rename from 2DGAMELIB/_2DGAMELIB/Labs.cs rename to 2DGAMELIB/_2DGAMELIB/LabelMap.cs index 6cbd930..362c73a 100644 --- a/2DGAMELIB/_2DGAMELIB/Labs.cs +++ b/2DGAMELIB/_2DGAMELIB/LabelMap.cs @@ -3,7 +3,7 @@ using System.Drawing; namespace _2DGAMELIB { - public class Labs + public class LabelMap { private OrderedDictionary labs = new OrderedDictionary(); @@ -13,7 +13,7 @@ namespace _2DGAMELIB public Lab this[string Name] => labs[Name]; - public Labs(ModeEventDispatcher Med, RenderArea Are) + public LabelMap(ModeEventDispatcher Med, RenderArea Are) { this.Med = Med; this.Are = Are; diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/Mods.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Mods.cs index de7dc89..e0b3f33 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Mods.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Mods.cs @@ -5586,7 +5586,7 @@ namespace SlaveMatrix } } }); - Labs ls = new Labs(Med, DrawBuffer); + LabelMap ls = new LabelMap(Med, DrawBuffer); ls.Add("ラベル0", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 - 0.1)), 0.1, 2.5, new Font("MS Gothic", 1f), 0.085, " ", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); ls.Add("ラベル1", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 0.0 + 0.005)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, GameText.肌の色, Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); ls.Add("ラベル2", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 0.0 + 0.045)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "H:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false);