G1-01 + G1-02
This commit is contained in:
-24
@@ -1,24 +0,0 @@
|
||||
using GeometryTD.Definition;
|
||||
|
||||
namespace GeometryTD.CustomComponent
|
||||
{
|
||||
internal static class PhaseEndConditionFactory
|
||||
{
|
||||
private static readonly IPhaseEndCondition None = new NonePhaseEndCondition();
|
||||
private static readonly IPhaseEndCondition TimeElapsed = new TimeElapsedPhaseEndCondition();
|
||||
private static readonly IPhaseEndCondition EnemiesCleared = new EnemiesClearedPhaseEndCondition();
|
||||
private static readonly IPhaseEndCondition BossDead = new BossDeadPhaseEndCondition();
|
||||
|
||||
public static IPhaseEndCondition Create(PhaseEndType endType)
|
||||
{
|
||||
return endType switch
|
||||
{
|
||||
PhaseEndType.TimeElapsed => TimeElapsed,
|
||||
PhaseEndType.EnemiesCleared => EnemiesCleared,
|
||||
PhaseEndType.BossDead => BossDead,
|
||||
PhaseEndType.None => None,
|
||||
_ => None
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 35a7aac328337414dbae929053176177
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user