43 lines
1.4 KiB
C#
43 lines
1.4 KiB
C#
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",
|
|
};
|
|
|
|
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];
|
|
}
|
|
} |