20 package net.sf.gridarta.action;
27 import net.
sf.japi.swing.action.ActionMethod;
28 import org.jetbrains.annotations.NotNull;
29 import org.jetbrains.annotations.Nullable;
63 protected boolean doAction(
final boolean performAction, @Nullable
final G gameObject) {
64 if (gameObject ==
null || !gameObject.isHead()) {
68 G nextGameObject = gameObject.getLast();
69 if (nextGameObject ==
null) {
70 nextGameObject = gameObject;
72 final G tmp = nextGameObject.getNext();
77 nextGameObject = nextGameObject.getContainerGameObject();
78 if (nextGameObject ==
null) {