public interface ScriptArchData<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Modifier and Type | Method and Description |
---|---|
G |
getScriptedEvent(int eventSubtype,
G gameObject)
Search the owner game object for an event object of the specified event
type.
|
boolean |
isEmpty(G gameObject)
Returns whether this ScriptArchData is empty (contains no events).
|
@Nullable G getScriptedEvent(int eventSubtype, @NotNull G gameObject)
eventSubtype
- look for a ScriptedEvent of this typegameObject
- the game object to operate onnull
if no event of this type
existsboolean isEmpty(@NotNull G gameObject)
gameObject
- the game object to operate ontrue
if this ScriptArchData contains no events, otherwise
false