public static TDCEnviromentData Clone(TDCEnviromentData instance) { var tmp = new TDCEnviromentData (); tmp.ID = instance.ID; tmp.Name = instance.Name; tmp.GameType = instance.GameType; tmp.Description = instance.Description; tmp.ModelPath = instance.ModelPath; tmp.FSMPath = instance.FSMPath; tmp.Icon = instance.Icon; tmp.CreatureType = instance.CreatureType; tmp.CurrentHP = instance.CurrentHP; tmp.CurrentHeatPoint = instance.CurrentHeatPoint; tmp.MaxHeatPoint = instance.MaxHeatPoint; tmp.MaxHP = instance.MaxHP; tmp.Inventory = instance.Inventory; tmp.IsShine = instance.IsShine; return tmp; }
public TDCEnviroment(TDCBaseController ctrl, TDCBaseData data) : base(ctrl, data) { m_Controller = ctrl as TDCEnviromentController; m_Data = data as TDCEnviromentData; }
public override void SetData(TDCBaseData data) { m_Data = data as TDCEnviromentData; }