Fix capitalization.

This commit is contained in:
Paul Chote
2014-12-26 11:02:57 +13:00
parent 4ea7b5a908
commit 22ab35f681
9 changed files with 42 additions and 37 deletions

View File

@@ -19,6 +19,8 @@ namespace OpenRA.Mods.Common.Effects
{
public class FloatingText : IEffect
{
static readonly WVec Velocity = new WVec(0, 0, 86);
readonly SpriteFont font;
readonly string text;
Color color;
@@ -34,13 +36,12 @@ namespace OpenRA.Mods.Common.Effects
this.remaining = duration;
}
static readonly WVec velocity = new WVec(0, 0, 86);
public void Tick(World world)
{
if (--remaining <= 0)
world.AddFrameEndTask(w => w.Remove(this));
pos += velocity;
pos += Velocity;
}
public IEnumerable<IRenderable> Render(WorldRenderer wr)