private InitEffectStr()
{
let i = 0;
for(let el in E_Effect_Type)
{
let temp = parseInt(el);
if(isNaN(temp))
{
this.m_mapEffect.set(E_Effect_Type.Bomb + i++,el + "");
}
}
}
private InitEffectStr()
{
let i = 0;
for(let el in E_Effect_Type)
{
let temp = parseInt(el);
if(isNaN(temp))
{
this.m_mapEffect.set(E_Effect_Type.Bomb + i++,el + "");
}
}
}
本文标题:遍历枚举
本文链接:https://www.haomeiwen.com/subject/hhbfpltx.html
网友评论