示例#1
0
文件: Ship.cs 项目: rabiribi/OrbitII
 /// <summary>
 /// 获得飞船组件模型
 /// </summary>
 /// <param name="id">组件ID</param>
 /// <returns></returns>
 public ShipComponent GetShipComponent(int id, int level)
 {
     return(ShipUnitLister.GetInstance().GetUnit <ShipComponent>(id, level));
 }
示例#2
0
文件: Ship.cs 项目: rabiribi/OrbitII
 /// <summary>
 /// 获得方块模型
 /// </summary>
 /// <param name="id">方块id</param>
 /// <param name="level">方块等级</param>
 /// <returns></returns>
 public Block GetBlock(int id, int level)
 {
     return(ShipUnitLister.GetInstance().GetUnit <Block>(id, level));
 }