2023-10-19 15:00:19 +08:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Framework;
|
|
|
|
|
|
|
|
|
|
public class LevelUIManager
|
|
|
|
|
{
|
|
|
|
|
public static string[] NumImgList =
|
|
|
|
|
{
|
|
|
|
|
Constants.UI_NUMBER_TEX_PATH + 0 + ".png",
|
|
|
|
|
Constants.UI_NUMBER_TEX_PATH + 1 + ".png",
|
|
|
|
|
Constants.UI_NUMBER_TEX_PATH + 2 + ".png",
|
|
|
|
|
Constants.UI_NUMBER_TEX_PATH + 3 + ".png",
|
|
|
|
|
Constants.UI_NUMBER_TEX_PATH + 4 + ".png",
|
|
|
|
|
Constants.UI_NUMBER_TEX_PATH + 5 + ".png",
|
|
|
|
|
Constants.UI_NUMBER_TEX_PATH + 6 + ".png",
|
|
|
|
|
Constants.UI_NUMBER_TEX_PATH + 7 + ".png",
|
|
|
|
|
Constants.UI_NUMBER_TEX_PATH + 8 + ".png",
|
|
|
|
|
Constants.UI_NUMBER_TEX_PATH + 9 + ".png",
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
public static string[] PaintingList =
|
|
|
|
|
{
|
|
|
|
|
Constants.UI_POSTER_DEFAULT_PATH + "Poster_A00001.png",
|
|
|
|
|
Constants.UI_POSTER_DEFAULT_PATH + "Poster_A00002.png",
|
|
|
|
|
Constants.UI_POSTER_DEFAULT_PATH + "Poster_A00003.png",
|
|
|
|
|
Constants.UI_POSTER_DEFAULT_PATH + "Poster_A00004.png",
|
|
|
|
|
Constants.UI_POSTER_DEFAULT_PATH + "Poster_A00005.png",
|
|
|
|
|
};
|
2024-09-30 15:57:57 +08:00
|
|
|
|
|
|
|
|
public static string GetNumberImgPath(int index)
|
|
|
|
|
{
|
2024-10-11 19:07:01 +08:00
|
|
|
return string.Format(Constants.UI_TEAM_UNIT_INDEX_PATH, index + 1);
|
2024-09-30 15:57:57 +08:00
|
|
|
}
|
2023-10-19 15:00:19 +08:00
|
|
|
|
|
|
|
|
public static string GetMoralePic(bool isDanger)
|
|
|
|
|
{
|
|
|
|
|
if (isDanger)
|
|
|
|
|
{
|
|
|
|
|
return Constants.UI_MORALE_TEX_PATH + "UI_Battle_Morale_Cube_Red.png";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return Constants.UI_MORALE_TEX_PATH + "UI_Battle_Morale_Cube_Blue.png";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static string GetNumberImage(int num)
|
|
|
|
|
{
|
|
|
|
|
return NumImgList[num];
|
|
|
|
|
}
|
|
|
|
|
}
|