20 package net.sf.gridarta.action;
22 import java.awt.Point;
30 import net.
sf.japi.swing.action.ActionMethod;
31 import org.jetbrains.annotations.NotNull;
32 import org.jetbrains.annotations.Nullable;
66 protected boolean doAction(
final boolean performAction, @Nullable
final G gameObject) {
67 if (gameObject ==
null || !gameObject.isHead()) {
71 final G envGameObject = gameObject.getContainerGameObject();
72 if (envGameObject ==
null) {
77 if (mapSquare ==
null) {