From a7f4c5ecc5268c49f6a6caf769b3ebee6f237662 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期三, 04 六月 2025 18:52:55 +0800
Subject: [PATCH] 目录迁移 整理

---
 Main/System/Battle/BattleManager.cs |   84 +++++++++++++++++++++---------------------
 1 files changed, 42 insertions(+), 42 deletions(-)

diff --git a/Main/Manager/GameSystemManager/BattleManager.cs b/Main/System/Battle/BattleManager.cs
similarity index 99%
rename from Main/Manager/GameSystemManager/BattleManager.cs
rename to Main/System/Battle/BattleManager.cs
index 5d7aa58..074c581 100644
--- a/Main/Manager/GameSystemManager/BattleManager.cs
+++ b/Main/System/Battle/BattleManager.cs
@@ -1,43 +1,43 @@
-using System.Collections.Generic;
-using UnityEngine;
-
-
-
-public class BattleManager : GameSystemManager<BattleManager>
-{
-    protected Dictionary<int, BattleField> battleFields = new Dictionary<int, BattleField>();
-
-
-    public override void Init()
-    {
-        base.Init();
-        EventBroadcast.Instance.AddListener<int, int>(EventName.BATTLE_ACTION_OVER, OnActionOver);
-    }
-
-    public override void Release()
-    {
-        base.Release();
-    }
-
-    private void OnActionOver(int battleFieldId, int attackId)
-    {
-        BattleField battleField = null;
-        if (battleFields.TryGetValue(battleFieldId, out battleField))
-        {
-            battleField.OnActionOver(attackId);
-        }
-        else
-        {
-            Debug.LogError("BattleManager OnActionOver battleFieldId:" + battleFieldId + " not find");
-        }
-    }
-
-    public void Run()
-    {
-        foreach (var battleField in battleFields)
-        {
-            battleField.Value.Run();
-        }
-    }
-
+using System.Collections.Generic;
+using UnityEngine;
+
+
+
+public class BattleManager : GameSystemManager<BattleManager>
+{
+    protected Dictionary<int, BattleField> battleFields = new Dictionary<int, BattleField>();
+
+
+    public override void Init()
+    {
+        base.Init();
+        EventBroadcast.Instance.AddListener<int, int>(EventName.BATTLE_ACTION_OVER, OnActionOver);
+    }
+
+    public override void Release()
+    {
+        base.Release();
+    }
+
+    private void OnActionOver(int battleFieldId, int attackId)
+    {
+        BattleField battleField = null;
+        if (battleFields.TryGetValue(battleFieldId, out battleField))
+        {
+            battleField.OnActionOver(attackId);
+        }
+        else
+        {
+            Debug.LogError("BattleManager OnActionOver battleFieldId:" + battleFieldId + " not find");
+        }
+    }
+
+    public void Run()
+    {
+        foreach (var battleField in battleFields)
+        {
+            battleField.Value.Run();
+        }
+    }
+
 }
\ No newline at end of file

--
Gitblit v1.8.0