优化关卡评级显示相关代码

This commit is contained in:
MrZ626
2020-10-27 17:57:39 +08:00
parent bb81429130
commit 61a67a7b7c
5 changed files with 35 additions and 15 deletions

View File

@@ -178,6 +178,15 @@ local _={}
for k,v in next,missionEnum do _[v]=k end
for k,v in next,_ do missionEnum[k]=v end
rankColor={
color.dRed, --D
color.dOrange, --C
color.lYellow, --B
color.lBlue, --A
color.lCyan, --S
color.lGreen, --Special
}
local function T(s,t)return love.graphics.newText(getFont(s),t)end
drawableText={
question=T(100,"?"),