public PhaseItemModel(PhaseItemModel p, IdeCollection <IdeBaseItem> source) : base(source) { _phase = new GamePhase { Icon = p.Asset.FullPath, }; Name = p.Name; }
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; }