Go to the documentation of this file.
20 package net.sf.gridarta.model.exitconnector;
22 import java.awt.Point;
29 import org.jetbrains.annotations.NotNull;
30 import org.jetbrains.annotations.Nullable;
66 if (!mapModel.getMapArchObject().isPointValid(point)) {
70 final G head = part.getHead();
103 if (point ==
null || !mapModel.getMapArchObject().isPointValid(point)) {
107 final G head = part.getHead();
126 final G head = exit.getHead();
127 return isExit(head) ? head :
null;
150 return isExit(gameObject);
MapSquare< G, A, R > getMapSquare()
G getExit(@Nullable final G exit)
static final long serialVersionUID
G getValidExit(@NotNull final MapModel< G, A, R > mapModel, @NotNull final Point point)
boolean isValidExit(@NotNull final GameObject< G, A, R > gameObject)
boolean isExit(@NotNull final GameObject<?, ?, ?> gameObject)
GameObject< G, A, R > getValidExit(@Nullable final G exit)
ExitMatcher(@NotNull final GameObjectMatcher exitMatcher)
final GameObjectMatcher exitMatcher
G getExit(@NotNull final MapModel< G, A, R > mapModel, @Nullable final Point point)
boolean isMatching(@NotNull final GameObject<?, ?, ?> gameObject)
boolean isMatching(@NotNull GameObject<?, ?, ?> gameObject)