コード例 #1
0
ファイル: Player.cs プロジェクト: voidedWarranties/osu
 /// <summary>
 /// Create a new player instance.
 /// </summary>
 public Player(PlayerConfiguration configuration = null)
 {
     Configuration = configuration ?? new PlayerConfiguration();
 }
コード例 #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;
        }
コード例 #3
0
 protected SubmittingPlayer(PlayerConfiguration configuration = null)
     : base(configuration)
 {
 }
コード例 #4
0
ファイル: Player.cs プロジェクト: zi-jing/osu
 /// <summary>
 /// Create a new player instance.
 /// </summary>
 protected Player(PlayerConfiguration configuration = null)
 {
     Configuration = configuration ?? new PlayerConfiguration();
 }
コード例 #5
0
ファイル: ReplayPlayer.cs プロジェクト: shadiwolf/e
 public ReplayPlayer(Score score, PlayerConfiguration configuration = null)
     : base(configuration)
 {
     Score = score;
 }
コード例 #6
0
 protected SoloPlayer(PlayerConfiguration configuration = null)
     : base(configuration)
 {
 }
コード例 #7
0
 public ReplayPlayer(Func <IBeatmap, IReadOnlyList <Mod>, Score> createScore, PlayerConfiguration configuration = null)
     : base(configuration)
 {
     this.createScore = createScore;
 }
コード例 #8
0
 public ReplayPlayer(Score score, PlayerConfiguration configuration = null)
     : this((_, __) => score, configuration)
 {
 }
コード例 #9
0
 protected RoomSubmittingPlayer(Room room, PlaylistItem playlistItem, PlayerConfiguration configuration = null)
     : base(configuration)
 {
     Room         = room;
     PlaylistItem = playlistItem;
 }