Class DefaultScriptedEvent
- java.lang.Object
-
- net.sf.gridarta.model.scripts.AbstractScriptedEvent<GameObject,MapArchObject,Archetype>
-
- net.sf.gridarta.var.crossfire.model.scripts.DefaultScriptedEvent
-
- All Implemented Interfaces:
ScriptedEvent<GameObject,MapArchObject,Archetype>
public class DefaultScriptedEvent extends AbstractScriptedEvent<GameObject,MapArchObject,Archetype>
Class which stores information about one scripted event.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GameObjectgetEventArch()Returns the underlying event game object.intgetEventType()@NotNull java.lang.StringgetOptions()@NotNull java.lang.StringgetPluginName()@NotNull java.lang.StringgetScriptPath()voidmodifyEventPath()Set event path and plugin name according to user input from popup dialog.protected voidsetEventData(@NotNull java.lang.String pluginName, @NotNull java.lang.String scriptPath, @NotNull java.lang.String options)protected @NotNull java.lang.StringtypeName(int eventType)
-
-
-
Method Detail
-
modifyEventPath
public void modifyEventPath()
Description copied from interface:ScriptedEventSet event path and plugin name according to user input from popup dialog.
-
getEventArch
public GameObject getEventArch()
Description copied from interface:ScriptedEventReturns the underlying event game object.- Returns:
- the underlying event game object
-
getEventType
public int getEventType()
-
getPluginName
@NotNull public @NotNull java.lang.String getPluginName()
-
getScriptPath
@NotNull public @NotNull java.lang.String getScriptPath()
-
getOptions
@NotNull public @NotNull java.lang.String getOptions()
-
typeName
@NotNull protected @NotNull java.lang.String typeName(int eventType)
- Specified by:
typeNamein classAbstractScriptedEvent<GameObject,MapArchObject,Archetype>
-
setEventData
protected void setEventData(@NotNull @NotNull java.lang.String pluginName, @NotNull @NotNull java.lang.String scriptPath, @NotNull @NotNull java.lang.String options)- Specified by:
setEventDatain classAbstractScriptedEvent<GameObject,MapArchObject,Archetype>
-
-