32 lines
836 B
C#
32 lines
836 B
C#
using GeometryTD.DataTable;
|
|
|
|
namespace GeometryTD.CustomComponent
|
|
{
|
|
internal readonly struct PhaseEndConditionContext
|
|
{
|
|
public PhaseEndConditionContext(
|
|
DRLevelPhase phase,
|
|
float phaseElapsedSeconds,
|
|
bool isPhaseSpawnCompleted,
|
|
int aliveEnemyCount,
|
|
bool hasAliveBoss)
|
|
{
|
|
Phase = phase;
|
|
PhaseElapsedSeconds = phaseElapsedSeconds;
|
|
IsPhaseSpawnCompleted = isPhaseSpawnCompleted;
|
|
AliveEnemyCount = aliveEnemyCount;
|
|
HasAliveBoss = hasAliveBoss;
|
|
}
|
|
|
|
public DRLevelPhase Phase { get; }
|
|
|
|
public float PhaseElapsedSeconds { get; }
|
|
|
|
public bool IsPhaseSpawnCompleted { get; }
|
|
|
|
public int AliveEnemyCount { get; }
|
|
|
|
public bool HasAliveBoss { get; }
|
|
}
|
|
}
|