rise-and-swine/Assets/Scripts/Assembly-CSharp/PerfectFlightChallenge.cs
2023-02-25 23:04:03 -05:00

15 lines
326 B
C#

public class PerfectFlightChallenge : Challenge
{
public override ChallengeType Type
{
get
{
return Challenge.ChallengeType.PerfectFlight;
}
}
public override bool IsCompleted()
{
return WPFMonoBehaviour.levelManager.ContraptionRunning && !WPFMonoBehaviour.levelManager.ContraptionRunning.IsBroken();
}
}