20 package net.sf.gridarta.model.scripts;
26 import org.jetbrains.annotations.NotNull;
27 import org.jetbrains.annotations.Nullable;
64 for (
final G tmp : gameObject) {
65 if (tmp.getTypeNo() == eventTypeNo && tmp.getAttributeInt(subtypeAttribute) == eventSubtype) {
73 public boolean isEmpty(@NotNull
final G gameObject) {
Stores and manages information about scripted events.
Stores and manages information about scripted events.
DefaultScriptArchData(@NotNull final String subtypeAttribute, final int eventTypeNo)
Create a ScriptArchData.
G getScriptedEvent(final int eventSubtype, @NotNull final G gameObject)
Base package of all Gridarta classes.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
boolean isEmpty(@NotNull final G gameObject)
final int eventTypeNo
The object type for event objects.
final String subtypeAttribute
The attribute name for the subtype field.
Interface for MapArchObjects.