-
Notifications
You must be signed in to change notification settings - Fork 243
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
Utility AI inclusion #97
Open
felixvolz
wants to merge
7
commits into
libgdx:master
Choose a base branch
from
felixvolz:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Oct 27, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 227d1c3 - Browse repository at this point
Copy the full SHA 227d1c3View commit details -
I've updated RandomSelector to set in a known state each time it starts(). Pre this fix I was finding it could attempt to run in a state of runningChild = null and currentChildIndex = children.size.
Configuration menu - View commit details
-
Copy full SHA for 5c3aec8 - Browse repository at this point
Copy the full SHA 5c3aec8View commit details
Commits on Nov 16, 2015
-
Pathfinder with TerminationCondition
A flawed, first attempt at implementing a pathfinder that will terminate upon the location of an active item type rather than a specific node. TerminationCondition will set the endNode. I havent got this working properly. One then needs to override Node equals operator IndexedAStarPathFinderWithTerminationCondition<Node> pathFinder = new IndexedAStarPathFinderWithTerminationCondition<Node>(graph){ @OverRide public boolean isTerminationConditionSatisfied(Node current, Node target) { if (current.extraInfo != null) { if (current.extraInfo instanceof Trigger_Food) { Trigger_Food<MyActor> trig = (Trigger_Food<MyActor>) current.extraInfo; if(trig.isTriggerActive()){ //clone, dont like but it works target.pos = current.pos; target.index = current.index; return true; } } } return false; } };
Configuration menu - View commit details
-
Copy full SHA for b19a620 - Browse repository at this point
Copy the full SHA b19a620View commit details -
Pathfinder with TerminationCondition
A flawed, first attempt at implementing a pathfinder that will terminate upon the location of an active item type rather than a specific node. TerminationCondition will set the endNode. I havent got this working properly. One will then need to override Node equals operator. Example usage: IndexedAStarPathFinderWithTerminationCondition<Node> pathFinder = new IndexedAStarPathFinderWithTerminationCondition<Node>(graph){ @OverRide public boolean isTerminationConditionSatisfied(Node current, Node target) { if (current.extraInfo != null) { if (current.extraInfo instanceof Trigger_Food) { Trigger_Food<MyActor> trig = (Trigger_Food<MyActor>) current.extraInfo; if(trig.isTriggerActive()){ //clone, dont like but it works target.pos = current.pos; target.index = current.index; return true; } } } return false; } };
Configuration menu - View commit details
-
Copy full SHA for db71d3c - Browse repository at this point
Copy the full SHA db71d3cView commit details
Commits on Nov 6, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 985af74 - Browse repository at this point
Copy the full SHA 985af74View commit details
Commits on Nov 8, 2017
-
Configuration menu - View commit details
-
Copy full SHA for df89f23 - Browse repository at this point
Copy the full SHA df89f23View commit details -
Configuration menu - View commit details
-
Copy full SHA for b753ec9 - Browse repository at this point
Copy the full SHA b753ec9View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.