Go to the documentation of this file.
20 package net.sf.gridarta.model.mapmodel;
22 import java.awt.Point;
23 import java.io.Serializable;
24 import java.util.List;
30 import org.jetbrains.annotations.NotNull;
31 import org.jetbrains.annotations.Nullable;
311 void moveEnv(@NotNull G gameObject, @NotNull Point pos, @NotNull G nextGameObject);
391 boolean isAreaEmpty(
int left,
int top,
int width,
int height);
457 void nextPoint(Point point,
int direction);
void setMapFile(@Nullable MapFile mapFile)
void prependMapModelListener(@NotNull MapModelListener< G, A, R > listener)
G insertArchToMap(@NotNull BaseObject< G, A, R, ?> templateBaseObject, @Nullable G nextGameObject, @NotNull Point pos, boolean join)
boolean isMultiArchFittingToMap(@NotNull Archetype< G, A, R > archetype, @NotNull Point pos, boolean allowDouble)
void beginGameObjectChange(@NotNull G gameObject)
void moveInv(@NotNull G gameObject, @NotNull GameObject< G, A, R > prevGameObject)
void addActiveEditType(int editType)
ErrorCollector< G, A, R > getErrors()
void endSquareChange(@NotNull MapSquare< G, A, R > mapSquare)
int getTransactionDepth()
void moveEnv(@NotNull G gameObject, @NotNull Point pos, @NotNull G nextGameObject)
void removeMapTransactionListener(@NotNull MapTransactionListener< G, A, R > listener)
void nextPoint(Point point, int direction)
void setErrors(@NotNull ErrorCollector< G, A, R > errors)
boolean isAreaEmpty(int left, int top, int width, int height)
void beginSquareChange(@NotNull MapSquare< G, A, R > mapSquare)
void beginTransaction(@NotNull String name)
MapSquare< G, A, R > getMapSquare(@NotNull Point pos)
void endAllTransactions()
boolean isAnyTransactionActive()
void removeGameObject(@NotNull G gameObject, boolean join)
void removeMapModelListener(@NotNull MapModelListener< G, A, R > listener)
void transientGameObjectChange(@NotNull G gameObject)
G insertBaseObject(@NotNull BaseObject< G, A, R, ?> baseObject, @NotNull Point pos, boolean allowMany, boolean join, @NotNull InsertionMode insertionMode)
void addMapModelListener(@NotNull MapModelListener< G, A, R > listener)
void addObjectListToMap(@NotNull Iterable< G > objects)
void endGameObjectChange(@NotNull G gameObject)
void addMapTransactionListener(@NotNull MapTransactionListener< G, A, R > listener)
List< G > getAllGameObjects()
void addGameObjectToMap(@NotNull G gameObject, @NotNull Point pos, @NotNull InsertionMode insertionMode)