1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-21 08:12:56 +08:00

License headers + general fixes.

This commit is contained in:
smoogipooo 2017-03-28 10:51:22 +09:00
parent 621bcaed59
commit 3f1e8ddcd1
6 changed files with 16 additions and 14 deletions

View File

@ -9,7 +9,6 @@ using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Sprites;
using osu.Framework.Screens.Testing; using osu.Framework.Screens.Testing;
using osu.Game.Graphics; using osu.Game.Graphics;
using osu.Game.Modes.Taiko.Objects;
using osu.Game.Modes.Taiko.Objects.Drawable; using osu.Game.Modes.Taiko.Objects.Drawable;
using osu.Game.Modes.Taiko.Objects.Drawable.Pieces; using osu.Game.Modes.Taiko.Objects.Drawable.Pieces;

View File

@ -1,15 +1,13 @@
using OpenTK; // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Graphics; using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics.Sprites;
using osu.Game.Graphics; using osu.Game.Graphics;
using osu.Game.Modes.Taiko.Objects.Drawable.Pieces; using osu.Game.Modes.Taiko.Objects.Drawable.Pieces;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace osu.Game.Modes.Taiko.Objects.Drawable namespace osu.Game.Modes.Taiko.Objects.Drawable
{ {
@ -18,7 +16,7 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
/// </summary> /// </summary>
public class CentreHitCirclePiece : Container public class CentreHitCirclePiece : Container
{ {
private CirclePiece circle; private readonly CirclePiece circle;
public CentreHitCirclePiece(CirclePiece piece) public CentreHitCirclePiece(CirclePiece piece)
{ {

View File

@ -1,4 +1,7 @@
using System.Collections.Generic; // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using OpenTK.Input; using OpenTK.Input;
using osu.Game.Modes.Taiko.Objects.Drawable.Pieces; using osu.Game.Modes.Taiko.Objects.Drawable.Pieces;
@ -6,7 +9,7 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
{ {
public class DrawableCentreHit : DrawableHit public class DrawableCentreHit : DrawableHit
{ {
protected override List<Key> HitKeys { get; } = new List<Key>(new Key[] { Key.F, Key.J }); protected override List<Key> HitKeys { get; } = new List<Key>(new[] { Key.F, Key.J });
public DrawableCentreHit(Hit hit) public DrawableCentreHit(Hit hit)
: base(hit) : base(hit)

View File

@ -28,7 +28,7 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
/// </summary> /// </summary>
private bool validKeyPressed; private bool validKeyPressed;
private Container bodyContainer; private readonly Container bodyContainer;
protected DrawableHit(Hit hit) protected DrawableHit(Hit hit)
: base(hit) : base(hit)

View File

@ -1,4 +1,7 @@
using System.Collections.Generic; // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.Collections.Generic;
using OpenTK.Input; using OpenTK.Input;
using osu.Game.Modes.Taiko.Objects.Drawable.Pieces; using osu.Game.Modes.Taiko.Objects.Drawable.Pieces;
@ -6,7 +9,7 @@ namespace osu.Game.Modes.Taiko.Objects.Drawable
{ {
public class DrawableStrongCentreHit : DrawableStrongHit public class DrawableStrongCentreHit : DrawableStrongHit
{ {
protected override List<Key> HitKeys { get; } = new List<Key>(new Key[] { Key.F, Key.J }); protected override List<Key> HitKeys { get; } = new List<Key>(new[] { Key.F, Key.J });
public DrawableStrongCentreHit(Hit hit) public DrawableStrongCentreHit(Hit hit)
: base(hit) : base(hit)

View File

@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<!-- <!--
Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>. Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE