using Godot;
namespace ColdMint.scripts;
///
/// SloganProvider
/// 标语提供器
///
public static class SloganProvider
{
///
/// Define how many banners you want to display
/// 定义共有多少条标语需要展示
///
private const int Total = 12;
///
/// Swipe the machine to get a slogan
/// 刷机获取一个标语
///
///
public static string GetSlogan()
{
return TranslationServer.Translate("slogan_" + GD.RandRange(1, Total));
}
}