/******************************** * * 作者:吴隆健 * 创建时间: 2019/7/6 15:13:58 * ********************************/ using System; using MrWu.Basic; using System.Text; namespace Game.Shadow{ /// /// 影子 /// public class Shadow { /// /// 影子的名字 /// public string name; /// /// 影子的性别 /// public int sex; /// /// 头像 /// public string photo; /// /// 名字是否被用过 /// public bool isGetName; /// /// /// /// /// public Shadow(string name,string photo,int sex) { this.name = name; this.photo = photo; this.sex = sex; } /// /// /// /// public override string ToString() { StringBuilder sb = new StringBuilder(); int wight = -15; sb.AppendLine(string.Empty); sb.AppendLine(BaseFun.Align("name:",name,wight)); sb.AppendLine(BaseFun.Align("sex:",sex,wight)); return sb.ToString(); } } }