WIP: enemy behavior #26
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature-enemy-behavior"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement enemy lifecycle and movement behaviors.
TODO:
Resolves #22.
@ -10,0 +131,4 @@
private void Retarget()
{
if (heroSet == null || heroSet.Count == 0)
heroSet.IsEmpty
@ -10,0 +140,4 @@
}
// TODO(zeph): target based on threat, once threat exists
var k = Random.Range(0, heroSet.Count);
var it = heroSet.GetEnumerator();
We probably just want to implement https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/indexers/using-indexers on RuntimeSet
Checkout
From your project repository, check out a new branch and test the changes.