lightened shadow; added rotor shadows to heli; stripped some duplication; still a lot left though
This commit is contained in:
@@ -104,5 +104,10 @@ namespace OpenRa.Game.Traits
|
||||
return Tuple.New(s, loc.Round(), self.Owner.Palette);
|
||||
}
|
||||
|
||||
public static Tuple<Sprite, float2, int> CenteredShadow(Actor self, Sprite s, float2 location)
|
||||
{
|
||||
var loc = location - 0.5f * s.size;
|
||||
return Tuple.New(s, loc.Round(), 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user