 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.scripts;
22 import javax.swing.JList;
24 import org.jetbrains.annotations.NotNull;
Base package of all Gridarta classes.
int indexToEventType(int index)
Converts a combo box index to an event type.
Reflects a game object (object on a map).
String getArchetypeNameForEventType(int eventType)
Returns the archetype for an event type.
GameObjects are the objects based on Archetypes found on maps.
This document describes some hints and requirements for general development on the CrossfireEditor If you plan to make changes to the editor code or setup please read the following and keep it in derived from a basic editor application called Gridder by Pasi Ker�nen so please communicate with best through the cf devel mailing list
This class implements an UndefinedEventArchetypeException that describes an invalid event type.
String[] getEventNames()
Returns all event names.
String typeName(int eventType)
Returns a human readable name for an event type.
void addEventsToJList(@NotNull JList< String > list, @NotNull Iterable<? extends GameObject<?, ?, ?>> gameObject)
Set all ScriptedEvents to appear in the given JList This method should be fast because it may be exec...