加入测试样例,初步完善队列信息——视图转换
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class Character
|
||||
{
|
||||
/// <summary>
|
||||
/// 角色名称
|
||||
/// </summary>
|
||||
public string name{get; set;}
|
||||
/// <summary>
|
||||
/// 职业
|
||||
/// </summary>
|
||||
public string occupation{get; set;}
|
||||
/// <summary>
|
||||
/// 突破等级
|
||||
/// </summary>
|
||||
public string boundaryLevel{get; set;}
|
||||
/// <summary>
|
||||
/// 技能名称
|
||||
/// </summary>
|
||||
public string SkillName{get; set;}
|
||||
/// <summary>
|
||||
/// 是否为队长
|
||||
/// </summary>
|
||||
public bool isLeader{get; set;}
|
||||
|
||||
public Character(string name, string occupation, string boundaryLevel, string skillName)
|
||||
{
|
||||
this.name = name;
|
||||
this.occupation = occupation;
|
||||
this.boundaryLevel = boundaryLevel;
|
||||
this.SkillName = skillName;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user