SpawnInfo
This commit is contained in:
parent
71552d53c6
commit
24be556e38
4 changed files with 11 additions and 3 deletions
|
|
@ -3,6 +3,6 @@ using System;
|
||||||
|
|
||||||
public partial class FieldSpawn : Resource
|
public partial class FieldSpawn : Resource
|
||||||
{
|
{
|
||||||
[Export] public PackedScene scene;
|
[Export] public SpawnInfo info;
|
||||||
[Export] public Vector2 position;
|
[Export] public Vector2 position;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
7
addons/pvzadventure/SpawnInfo.cs
Normal file
7
addons/pvzadventure/SpawnInfo.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
using Godot;
|
||||||
|
|
||||||
|
public partial class SpawnInfo : Resource
|
||||||
|
{
|
||||||
|
[Export]
|
||||||
|
public PackedScene scene;
|
||||||
|
}
|
||||||
1
addons/pvzadventure/SpawnInfo.cs.uid
Normal file
1
addons/pvzadventure/SpawnInfo.cs.uid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
uid://rnnlkqtm6nhy
|
||||||
|
|
@ -5,7 +5,7 @@ using Godot.Collections;
|
||||||
[Tool]
|
[Tool]
|
||||||
public partial class WaveData : Resource
|
public partial class WaveData : Resource
|
||||||
{
|
{
|
||||||
[Export] private Array<ZombieResource> zombiesDisordered;
|
[Export] private Array<SpawnInfo> zombiesDisordered;
|
||||||
[Export] private Array<ZombieRowSpawn> zombiesOrdered;
|
[Export] private Array<SpawnInfo> zombiesOrdered;
|
||||||
[Export] private Array<FieldSpawn> spawns;
|
[Export] private Array<FieldSpawn> spawns;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue