SpawnInfo

This commit is contained in:
Rendo 2025-07-05 22:58:16 +05:00
commit 24be556e38
4 changed files with 11 additions and 3 deletions

View file

@ -3,6 +3,6 @@ using System;
public partial class FieldSpawn : Resource
{
[Export] public PackedScene scene;
[Export] public SpawnInfo info;
[Export] public Vector2 position;
}

View file

@ -0,0 +1,7 @@
using Godot;
public partial class SpawnInfo : Resource
{
[Export]
public PackedScene scene;
}

View file

@ -0,0 +1 @@
uid://rnnlkqtm6nhy

View file

@ -5,7 +5,7 @@ using Godot.Collections;
[Tool]
public partial class WaveData : Resource
{
[Export] private Array<ZombieResource> zombiesDisordered;
[Export] private Array<ZombieRowSpawn> zombiesOrdered;
[Export] private Array<SpawnInfo> zombiesDisordered;
[Export] private Array<SpawnInfo> zombiesOrdered;
[Export] private Array<FieldSpawn> spawns;
}