WIP: enemy behavior #26

Draft
zephyr wants to merge 3 commits from feature-enemy-behavior into main
Owner

Implement enemy lifecycle and movement behaviors.

TODO:

  • try actually running the code (pending #25)
  • add tests
  • skills (pending #13)

Resolves #22.

Implement enemy lifecycle and movement behaviors. TODO: - [ ] try actually running the code (pending #25) - [ ] add tests - [ ] skills (pending #13) Resolves #22.
zephyr added 1 commit 2023-08-16 15:39:32 -05:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
db7559cd16
initial work on enemy behavior
madxmike reviewed 2023-08-16 16:23:24 -05:00
@ -10,0 +131,4 @@
private void Retarget()
{
if (heroSet == null || heroSet.Count == 0)
Owner

heroSet.IsEmpty

`heroSet.IsEmpty`
zephyr marked this conversation as resolved
@ -10,0 +140,4 @@
}
// TODO(zeph): target based on threat, once threat exists
var k = Random.Range(0, heroSet.Count);
var it = heroSet.GetEnumerator();
Owner
We probably just want to implement https://learn.microsoft.com/en-us/dotnet/csharp/programming-guide/indexers/using-indexers on RuntimeSet
zephyr marked this conversation as resolved
zephyr added 1 commit 2023-08-16 21:54:51 -05:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
ec2ede72ed
simplify runtime set access
zephyr added 1 commit 2023-08-19 15:13:14 -05:00
ci/woodpecker/push/woodpecker Pipeline was successful Details
5667884f75
Merge branch 'main' into feature-enemy-behavior
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This pull request is marked as a work in progress.
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: studio/idle-survivors#26
No description provided.