|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace Global {
|
|
|
|
public enum Type { RealOnline, RealOffline, Hybrid, AI, RealOnlineRanked }
|
|
|
|
public enum Difficulty { VeryEasy, Easy, Medium, Hard, VeryHard }
|
|
|
|
[Serializable]
|
|
|
|
public enum SpawnRate {Never, Few, Normal, Many}
|
|
|
|
[Serializable]
|
|
|
|
public enum Spawnable {NewBallTemporary, NewBallPermanent, Modification, Wormhole}
|
|
|
|
public enum WinScore {Default, Custom}
|
|
|
|
|
|
|
|
public struct RoomSettings {
|
|
|
|
public static Type Type;
|
|
|
|
public static Difficulty AIDifficulty;
|
|
|
|
public static readonly Dictionary<Spawnable, SpawnRate> SpawnRates = new() {
|
|
|
|
{Spawnable.NewBallTemporary, SpawnRate.Normal},
|
|
|
|
{Spawnable.NewBallPermanent, SpawnRate.Normal},
|
|
|
|
{Spawnable.Modification, SpawnRate.Normal},
|
|
|
|
{Spawnable.Wormhole, SpawnRate.Normal}
|
|
|
|
};
|
|
|
|
public static WinScore WinScore;
|
|
|
|
public static int CustomWinScore;
|
|
|
|
}
|
|
|
|
}
|