-
-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from crashkonijn/feature/added-goal-complete-e…
…vent Feature/added goal complete event
- Loading branch information
Showing
27 changed files
with
219 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
Package/Runtime/CrashKonijn.Goap.Resolver/Interfaces/ICostBuilder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace CrashKonijn.Goap.Resolver.Interfaces | ||
{ | ||
public interface ICostBuilder | ||
{ | ||
CostBuilder SetCost(IAction action, float cost); | ||
float[] Build(); | ||
void Clear(); | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Package/Runtime/CrashKonijn.Goap.Resolver/Interfaces/ICostBuilder.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
Package/Runtime/CrashKonijn.Goap.Resolver/Interfaces/IExecutableBuilder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace CrashKonijn.Goap.Resolver.Interfaces | ||
{ | ||
public interface IExecutableBuilder | ||
{ | ||
ExecutableBuilder SetExecutable(IAction action, bool executable); | ||
void Clear(); | ||
bool[] Build(); | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Package/Runtime/CrashKonijn.Goap.Resolver/Interfaces/IExecutableBuilder.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
16 changes: 16 additions & 0 deletions
16
Package/Runtime/CrashKonijn.Goap.Resolver/Interfaces/IGraphResolver.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
using CrashKonijn.Goap.Resolver.Models; | ||
|
||
namespace CrashKonijn.Goap.Resolver.Interfaces | ||
{ | ||
public interface IGraphResolver | ||
{ | ||
IResolveHandle StartResolve(RunData runData); | ||
IExecutableBuilder GetExecutableBuilder(); | ||
IPositionBuilder GetPositionBuilder(); | ||
ICostBuilder GetCostBuilder(); | ||
Graph GetGraph(); | ||
int GetIndex(IAction action); | ||
IAction GetAction(int index); | ||
void Dispose(); | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Package/Runtime/CrashKonijn.Goap.Resolver/Interfaces/IGraphResolver.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
Package/Runtime/CrashKonijn.Goap.Resolver/Interfaces/IPositionBuilder.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Unity.Mathematics; | ||
using UnityEngine; | ||
|
||
namespace CrashKonijn.Goap.Resolver.Interfaces | ||
{ | ||
public interface IPositionBuilder | ||
{ | ||
PositionBuilder SetPosition(IAction action, Vector3 position); | ||
float3[] Build(); | ||
void Clear(); | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Package/Runtime/CrashKonijn.Goap.Resolver/Interfaces/IPositionBuilder.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
Package/Runtime/CrashKonijn.Goap/Interfaces/IGoapConfig.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using CrashKonijn.Goap.Observers; | ||
|
||
namespace CrashKonijn.Goap.Interfaces | ||
{ | ||
public interface IGoapConfig | ||
{ | ||
IConditionObserver ConditionObserver { get; set; } | ||
IKeyResolver KeyResolver { get; set; } | ||
IGoapInjector GoapInjector { get; set; } | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
Package/Runtime/CrashKonijn.Goap/Interfaces/IGoapConfig.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.