示例#1
0
 public PhaseItemModel(PhaseItemModel p, IdeCollection <IdeBaseItem> source) : base(source)
 {
     _phase = new GamePhase
     {
         Icon = p.Asset.FullPath,
     };
     Name = p.Name;
 }
示例#2
0
 public PhaseItemModel(PhaseItemModel p, IdeCollection <IdeBaseItem> source) : base(source)
 {
     _phase = new GamePhase
     {
     };
     Asset = new AssetController(AssetType.Image);
     Asset.Register(p._phase.Icon);
     _phase.Icon            = Asset.FullPath;
     Asset.PropertyChanged += AssetUpdated;
     Name = p.Name;
 }