feature-waves #16

Merged
madxmike merged 2 commits from feature-waves into main 2023-08-10 16:24:42 -05:00
Owner

Implements basic waves of enemies that spawn. #11

Implements basic waves of enemies that spawn. #11
madxmike added 2 commits 2023-08-09 20:50:03 -05:00
zephyr approved these changes 2023-08-09 21:12:47 -05:00
@ -0,0 +1,11 @@
using UnityEngine;
namespace DefaultNamespace
Owner

who

who
Author
Owner

Anything in the top level package gets put under DefaultNamespace. Rider puts this automatically when you make a new file in the top level package. Really we want to set the namespace for that package to IdleSurvivors or something.

Anything in the top level package gets put under DefaultNamespace. Rider puts this automatically when you make a new file in the top level package. Really we want to set the namespace for that package to IdleSurvivors or something.
@ -0,0 +4,4 @@
{
Uniform,
Random,
DiskRandom
Owner

missing trailing comma

missing trailing comma
@ -0,0 +12,4 @@
{
public class WaveSpawner : MonoBehaviour
{
[SerializeField] private SpawnWaveSOEventChannelSO startNewSpawnWaveEventChannel;
Owner

nit: verbose name

nit: verbose name
@ -0,0 +72,4 @@
var enemyPackSpawnPosition = spawnCenter.position + enemyPackSpawnOffset;
var enemyPackToSpawn = enemyPacksToSpawn[packN];
for (var enemyN = 0; enemyN < enemyPackToSpawn.Count; enemyN++)
Owner

there's no foreach-ish loop appropriate to use here?

there's no foreach-ish loop appropriate to use here?
Author
Owner

I need to keep track of the count of enemies that have spawned

I need to keep track of the count of enemies that have spawned
madxmike merged commit 7b48612c4b into main 2023-08-10 16:24:42 -05:00
madxmike deleted branch feature-waves 2023-08-10 16:24:42 -05:00
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#16
No description provided.