Exemplo n.º 1
0
 /// <summary>
 /// Create a new player instance.
 /// </summary>
 public Player(PlayerConfiguration configuration = null)
 {
     Configuration = configuration ?? new PlayerConfiguration();
 }
Exemplo n.º 2
0
        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;
        }
Exemplo n.º 3
0
 protected SubmittingPlayer(PlayerConfiguration configuration = null)
     : base(configuration)
 {
 }
Exemplo n.º 4
0
 /// <summary>
 /// Create a new player instance.
 /// </summary>
 protected Player(PlayerConfiguration configuration = null)
 {
     Configuration = configuration ?? new PlayerConfiguration();
 }
Exemplo n.º 5
0
 public ReplayPlayer(Score score, PlayerConfiguration configuration = null)
     : base(configuration)
 {
     Score = score;
 }
Exemplo n.º 6
0
 protected SoloPlayer(PlayerConfiguration configuration = null)
     : base(configuration)
 {
 }
Exemplo n.º 7
0
 public ReplayPlayer(Func <IBeatmap, IReadOnlyList <Mod>, Score> createScore, PlayerConfiguration configuration = null)
     : base(configuration)
 {
     this.createScore = createScore;
 }
Exemplo n.º 8
0
 public ReplayPlayer(Score score, PlayerConfiguration configuration = null)
     : this((_, __) => score, configuration)
 {
 }
Exemplo n.º 9
0
 protected RoomSubmittingPlayer(Room room, PlaylistItem playlistItem, PlayerConfiguration configuration = null)
     : base(configuration)
 {
     Room         = room;
     PlaylistItem = playlistItem;
 }