using NewHorizons.External.SerializableEnums;
using Newtonsoft.Json;
using System;
using System.ComponentModel;
namespace NewHorizons.External.Modules.Volumes.VolumeInfos
{
[JsonObject]
public class LoadCreditsVolumeInfo : VolumeInfo
{
[Obsolete("Use gameOver.creditsType")]
public NHCreditsType? creditsType;
[Obsolete("Use gameOver.text")]
public string gameOverText;
///
/// The type of death the player will have if they enter this volume. Don't set to have the camera just fade out.
///
[DefaultValue("default")] public NHDeathType? deathType = null;
///
/// The game over message to display. Leave empty to go straight to credits.
///
public GameOverModule gameOver;
}
}