 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.mapmanager;
27 import org.jetbrains.annotations.NotNull;
28 import org.jetbrains.annotations.Nullable;
40 private final StringBuilder
sb =
new StringBuilder();
44 throw new AssertionError();
49 throw new AssertionError();
54 throw new AssertionError();
59 throw new AssertionError();
64 throw new AssertionError();
69 throw new AssertionError();
74 throw new AssertionError();
78 public void reportSaveError(@NotNull
final File mapFile, @NotNull
final String message) {
79 sb.append(
"reportSaveError: ");
87 public void reportLoadError(@Nullable
final File file, @NotNull
final String message) {
88 throw new AssertionError();
92 public void reportOutOfMapBoundsDeleted(@NotNull
final File file,
final int outOfMapBoundsDeleted, @NotNull
final StringBuilder outOfMapBoundsObjects) {
93 throw new AssertionError();
98 throw new AssertionError();
103 throw new AssertionError();
108 return sb.toString();
An Archetype implementation for testing purposes.
Base package of all Gridarta classes.
void reportSaveError(@NotNull final MapControl< TestGameObject, TestMapArchObject, TestArchetype > mapControl, @NotNull final String message)
A GameObject implementation for testing purposes.
void reportSaveError(@NotNull final File mapFile, @NotNull final String message)
A FileControl implementation for testing purposes.
final StringBuilder sb
Collects the performed actions.
boolean save(@NotNull final MapControl< TestGameObject, TestMapArchObject, TestArchetype > mapControl)
GameObjects are the objects based on Archetypes found on maps.
void reportOutOfMemory(@NotNull final File file)
void openFile(final boolean mapFile)
void reportOutOfMapBoundsDeleted(@NotNull final File file, final int outOfMapBoundsDeleted, @NotNull final StringBuilder outOfMapBoundsObjects)
void reportTeleportCharacterError(@NotNull final String mapPath, @NotNull final String message)
void reportLoadError(@Nullable final File file, @NotNull final String message)
boolean saveAs(@NotNull final MapControl< TestGameObject, TestMapArchObject, TestArchetype > mapControl)
Currently nothing more than a marker interface for unification.
A MapArchObject implementation for testing purposes.
boolean confirmSaveChanges(@NotNull final MapControl< TestGameObject, TestMapArchObject, TestArchetype > mapControl)