继续调整,创建 Procedure 与 Presentation 程序集
- 创建 Procedure 与 Presentation 两个程序集 - 初步解决这两个程序集与原程序集的引用关系
This commit is contained in:
+5
-6
@@ -2,19 +2,18 @@ using SepCore.Definition;
|
||||
using Entity;
|
||||
using CustomUtility;
|
||||
using Entity.Weapon;
|
||||
using Procedure;
|
||||
|
||||
namespace UI
|
||||
{
|
||||
public class DisplayItemInfoFormUseCase : IUIUseCase
|
||||
{
|
||||
private readonly ProcedureGame _procedureGame;
|
||||
private readonly Player _player;
|
||||
|
||||
private Player Player => _procedureGame != null ? _procedureGame.Player : null;
|
||||
private Player Player => _player;
|
||||
|
||||
public DisplayItemInfoFormUseCase(ProcedureGame procedureGame)
|
||||
public DisplayItemInfoFormUseCase(Player player)
|
||||
{
|
||||
_procedureGame = procedureGame;
|
||||
_player = player;
|
||||
}
|
||||
|
||||
public DisplayItemInfoFormRawData CreateModel(int index, bool isWeapon)
|
||||
@@ -72,4 +71,4 @@ namespace UI
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user