/// <summary> /// Metoda pro vycisteni editoru /// </summary> public static void FlushEditors() { StarSystemEditor = new StarSystemEditorEntity(); PlanetEditor = new PlanetEditorEntity(); StarEditor = new StarEditorEntity(); WormholeEditor = new WormholeEditorEntity(); CircleOrbitEditor = new CircleEditorEntity(); EllipseOrbitEditor = new EllipseEditorEntity(); StacionaryOrbitEditor = new StacionaryEditorEntity(); }
/// <summary> /// Metoda starajici se o pripravu editoru /// </summary> public static void Preload() { Log("Inicializuji editor"); Names = new Names(NAMESFILEPATH); GalaxyMap = new GalaxyMap(); dataPresenter = new DataPresenter(); //vytvorim instance vsech editoru StarSystemEditor = new StarSystemEditorEntity(); PlanetEditor = new PlanetEditorEntity(); StarEditor = new StarEditorEntity(); WormholeEditor = new WormholeEditorEntity(); CircleOrbitEditor = new CircleEditorEntity(); EllipseOrbitEditor = new EllipseEditorEntity(); StacionaryOrbitEditor = new StacionaryEditorEntity(); IsLoaded = false; Time = 0; Log("Inicializace dokoncena"); }