using UnityEngine;
using System.Collections;
using System.Collections.Generic;
namespace YLBattle
{
///
///
///
public class BattlesSimulatedData
{
///
///
///
public List TestBlue = new List();
///
///
///
public List TestRed = new List();
///
///
///
private static BattlesSimulatedData mInstance = null;
///
///
///
public static BattlesSimulatedData Instance
{
get
{
if (mInstance == null)
{
mInstance = new BattlesSimulatedData();
}
return mInstance;
}
}
public GameHeroVo getHeroVoByTid(string iid)
{
GameHeroVo vo = null;
foreach (GameHeroVo v in TestBlue)
{
if (v == null)
{
continue;
}
if ("F" + v.uid == iid)
{
vo = v;
break;
}
}
return vo;
}
}
}