Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: rename checkFleeStopAction -> checkFleeContinueAction #104

Merged
merged 3 commits into from Apr 20, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/behaviors/creatures/critter.behavior
Expand Up @@ -5,7 +5,7 @@
componentPresent: "Behaviors:Fleeing",
child: {
sequence: [
check_flee_stop,
check_flee_continue,
{ lookup: { tree: "Behaviors:flee" } }
]
}
Expand Down
Expand Up @@ -14,10 +14,10 @@
import org.terasology.engine.logic.location.LocationComponent;


@BehaviorAction(name = "check_flee_stop")
public class CheckFleeStopAction extends BaseAction {
@BehaviorAction(name = "check_flee_continue")
public class CheckFleeContinueAction extends BaseAction {

private static final Logger logger = LoggerFactory.getLogger(CheckFleeStopAction.class);
private static final Logger logger = LoggerFactory.getLogger(CheckFleeContinueAction.class);

@Override
public BehaviorState modify(Actor actor, BehaviorState result) {
Expand Down