/// <summary> /// Create a new player instance. /// </summary> public Player(PlayerConfiguration configuration = null) { Configuration = configuration ?? new PlayerConfiguration(); }
protected override bool CheckModsAllowFailure() => false; // todo: better support starting mid-way through beatmap public SpectatorPlayer(Score score, PlayerConfiguration configuration = null) : base(configuration) { this.score = score; }
protected SubmittingPlayer(PlayerConfiguration configuration = null) : base(configuration) { }
/// <summary> /// Create a new player instance. /// </summary> protected Player(PlayerConfiguration configuration = null) { Configuration = configuration ?? new PlayerConfiguration(); }
public ReplayPlayer(Score score, PlayerConfiguration configuration = null) : base(configuration) { Score = score; }
protected SoloPlayer(PlayerConfiguration configuration = null) : base(configuration) { }
public ReplayPlayer(Func <IBeatmap, IReadOnlyList <Mod>, Score> createScore, PlayerConfiguration configuration = null) : base(configuration) { this.createScore = createScore; }
public ReplayPlayer(Score score, PlayerConfiguration configuration = null) : this((_, __) => score, configuration) { }
protected RoomSubmittingPlayer(Room room, PlaylistItem playlistItem, PlayerConfiguration configuration = null) : base(configuration) { Room = room; PlaylistItem = playlistItem; }