Package net.sf.gridarta.maincontrol
Class GridartaEditor<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.maincontrol.GridartaEditor<G,A,R>
-
public class GridartaEditor<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.ObjectMain class of the editor; parses command-line arguments, initializes and starts the editor.
-
-
Constructor Summary
Constructors Constructor Description GridartaEditor(@NotNull java.lang.String tipOfTheDayPackage)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun(@NotNull java.lang.String actionBuilderPackage, @NotNull java.lang.String editorJarName, @NotNull EditorFactory<G,A,R> editorFactory, @Nullable java.lang.String defaultConfig, @NotNull java.lang.String... args)Runs the editor.
-
-
-
Method Detail
-
run
public void run(@NotNull @NotNull java.lang.String actionBuilderPackage, @NotNull @NotNull java.lang.String editorJarName, @NotNull @NotNull EditorFactory<G,A,R> editorFactory, @Nullable @Nullable java.lang.String defaultConfig, @NotNull @NotNull java.lang.String... args)Runs the editor.- Parameters:
actionBuilderPackage- the package name for creating an action buildereditorJarName- the name of the .jar file containing the executableeditorFactory- the editor factory to usedefaultConfig- the default config file ornullto use Java's preferencesargs- the command line parameters given to the level editor
-
-