 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.gameobject;
24 import org.jetbrains.annotations.NotNull;
25 import org.jetbrains.annotations.Nullable;
Abstract factory for creating GameObject instances.
G createGameObjectPart(@NotNull R archetype, @Nullable G head)
Creates a new GameObject from an Archetype.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
R newArchetype(@NotNull String archetypeName)
Creates a new Archetype instance.
Interface for MapArchObjects.
G createGameObject(@NotNull R archetype)
Creates a new GameObject from an Archetype.
G cloneGameObject(@NotNull G gameObject)
Creates a copy of a game object.
G cloneMultiGameObject(@NotNull G gameObject)
Creates a copy of a game object, including tail parts.
void createInventory(@NotNull GameObject< G, A, R > gameObject, @NotNull Iterable< G > archetype)
Copies inventory objects from an archetype into a game object.