 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.action;
22 import javax.swing.Action;
29 import net.
sf.japi.swing.action.ActionMethod;
30 import org.jetbrains.annotations.NotNull;
31 import org.jetbrains.annotations.Nullable;
Base package of all Gridarta classes.
final ArchetypeSet< G, A, R > archetypeSet
The archetype set instance.
void updateAction()
Updates the enabled state of action.
void setAction(@NotNull final Action action, @NotNull final String name)
Sets the Action instance for this editor action.
Provider for faces of GameObjects and Archetypes.
Reflects a game object (object on a map).
void reloadFaces()
Invoked when the user wants to reload the images.
final FaceObjectProviders faceObjectProviders
The FaceObjectProviders for looking up faces.
GameObjects are the objects based on Archetypes found on maps.
Interface for MapArchObjects.
Interface that captures similarities between different ArchetypeSet implementations.
void reloadAll()
Reloads all providers provided by this FaceObjects.
Action action
The Action associated to this editor action.
boolean isLoadedFromArchive()
Returns whether the Archetypes in this ArchetypeSet were loaded from an archive.
The face is the appearance of an object.
An EditorAction that reloads all images from disk.
boolean doReloadFaces(final boolean performAction)
Executes the action.
ReloadFacesAction(@NotNull final ArchetypeSet< G, A, R > archetypeSet, @NotNull final FaceObjectProviders faceObjectProviders)
Creates a new instance.