public ProjectDocument(IProjectFileStructure fileStructure, Project project, IStageDocumentFactory stageFactory)
        {
            Project = project;
            FileStructure = fileStructure;
            _stageFactory = stageFactory;

            foreach (var entity in project.Entities)
            {
                if (entity.DefaultSprite != null)
                {
                    ((App)App.Current).AnimateSprite(entity.DefaultSprite);
                    entity.DefaultSprite.Play();
                }
            }
        }
 public ProjectDocumentFactory(FactoryCore core, IStageDocumentFactory stageFactory)
 {
     _core         = core;
     _stageFactory = stageFactory;
 }
 public ProjectDocumentFactory(FactoryCore core, IStageDocumentFactory stageFactory)
 {
     _core = core;
     _stageFactory = stageFactory;
 }