check for missing sequence entries using lint

This commit is contained in:
Matthias Mailänder
2015-05-24 14:24:09 +02:00
parent 7424f32b2f
commit 7faebe874a
59 changed files with 273 additions and 84 deletions

View File

@@ -21,14 +21,14 @@ namespace OpenRA.Mods.Common.Effects
readonly Animation anim;
readonly string palette;
public Smoke(World world, WPos pos, string trail, string palette)
public Smoke(World world, WPos pos, string trail, string palette, string sequence)
{
this.world = world;
this.pos = pos;
this.palette = palette;
anim = new Animation(world, trail);
anim.PlayThen("idle",
anim.PlayThen(sequence,
() => world.AddFrameEndTask(w => w.Remove(this)));
}