Add missing lincense header, remove unnecessary comment and field.

This commit is contained in:
Huo Yaoyuan 2016-09-26 13:56:05 +08:00
parent 3d23dda3b4
commit 756e7a6a67
4 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,7 @@
using System;
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using OpenTK.Input;
using osu.Framework.GameModes.Testing;
using osu.Framework.Graphics;

View File

@ -1,4 +1,7 @@
using OpenTK;
//Copyright (c) 2007-2016 ppy Pty Ltd <contact@ppy.sh>.
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using OpenTK;
using OpenTK.Graphics;
using osu.Framework.GameModes.Testing;
using osu.Framework.Graphics;

View File

@ -14,7 +14,6 @@ namespace osu.Game.Graphics.UserInterface
private Sprite buttonSprite;
private Sprite glowSprite;
private Container textLayer;
private SpriteText keySpriteText;
private SpriteText countSpriteText;
public override string Name { get; }
@ -71,7 +70,7 @@ namespace osu.Game.Graphics.UserInterface
Origin = Anchor.Centre,
Children = new Drawable[]
{
keySpriteText = new SpriteText
new SpriteText
{
Text = Name,
Anchor = Anchor.Centre,

View File

@ -16,7 +16,6 @@ namespace osu.Game.Graphics.UserInterface
}
private List<KeyCounter> counters = new List<KeyCounter>();
//default capacity is 4, and osu! uses 4 keys usually, so it won't trouble
public IReadOnlyList<KeyCounter> Counters => counters;
public void AddKey(KeyCounter key)