mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 05:17:13 +08:00
21 lines
639 B
C#
21 lines
639 B
C#
|
|
namespace Data
|
||
|
|
{
|
||
|
|
public enum EventType
|
||
|
|
{
|
||
|
|
None,
|
||
|
|
SpawnCharacter,
|
||
|
|
SpawnBuilding,
|
||
|
|
SpawnBullet,
|
||
|
|
SpawnPickup,
|
||
|
|
SpawnDefaultEntity,
|
||
|
|
}
|
||
|
|
public class EventDef : Define
|
||
|
|
{
|
||
|
|
public EventType eventType = EventType.None;
|
||
|
|
public EntityDef entityDef_Character; // 用于 EventType.SpawnCharacter
|
||
|
|
public BuildingDef entityDef_Building; // 用于 EventType.SpawnBuilding
|
||
|
|
public BulletDef entityDef_Bullet; // 用于 EventType.SpawnBullet
|
||
|
|
public ItemDef entityDef_Pickup; // 用于 EventType.SpawnPickup
|
||
|
|
public EventDef() { }
|
||
|
|
}
|
||
|
|
}
|