using System; using TowerDefense.Agents.Data; using TowerDefense.Nodes; using UnityEngine; namespace TowerDefense.Level { /// /// Serializable class for specifying properties of spawning an agent /// [Serializable] public class SpawnInstruction { /// /// The agent to spawn - i.e. the monster for the wave /// public AgentConfiguration agentConfiguration; /// /// The delay from the previous spawn until when this agent is spawned /// [Tooltip("The delay from the previous spawn until when this agent is spawned")] public float delayToSpawn; /// /// 刷新怪物的HP. /// public float hp; /// /// 刷新怪物的速度. /// public float speed; /// /// 刷新怪物的掉落. /// public float gold; } }