 |
Gridarta Editor
|
Go to the documentation of this file.
20 package net.sf.gridarta.model.gameobject;
27 import org.jetbrains.annotations.NotNull;
28 import org.jetbrains.annotations.Nullable;
45 public static final String
ELEVATION =
"test_elevation";
60 return drawDoubleFaces;
75 final int elevation = gameObject.getAttributeInt(
ELEVATION,
false);
81 public void updateTileStretch(
final int heightValue,
final boolean isAbsolute, @NotNull
final Integer @Nullable [] subLayers) {
86 public void applyMassChange(@NotNull
final Integer @NotNull [] layers, @NotNull
final Integer @NotNull [] subLayers, @NotNull
final String changes) {
91 throw new AssertionError();
An Archetype implementation for testing purposes.
Default implementation for GameObject implementing classes.
Base package of all Gridarta classes.
AnimationObjects is a container for AnimationObjects.
A GameObject implementation for testing purposes.
void propagateElevation(@NotNull final BaseObject<?, ?, ?, ?> gameObject)
Provider for faces of GameObjects and Archetypes.
final transient FaceObjectProviders faceObjectProviders
The FaceObjectProviders for looking up faces.
boolean isStretched(final boolean tileStretching)
void applyMassChange(@NotNull final Integer @NotNull[] layers, @NotNull final Integer @NotNull[] subLayers, @NotNull final String changes)
TestGameObject(@NotNull final TestArchetype archetype, @NotNull final FaceObjectProviders faceObjectProviders, @NotNull final AnimationObjects animationObjects)
Creates a new instance.
void updateTileStretch(final int heightValue, final boolean isAbsolute, @NotNull final Integer @Nullable[] subLayers)
boolean isDrawDouble(final boolean drawDoubleFaces)
static final String ELEVATION
The name of the "elevation" attribute.
The face is the appearance of an object.
Gridarta can handle frame information of animations and allow the selection of an animation using a t...
A MapArchObject implementation for testing purposes.
static final long serialVersionUID
The serial version UID.