rename ITraitPrerequisite<T> to Requires<T>

This commit is contained in:
Chris Forbes
2011-05-04 15:17:57 +12:00
parent 8aa206ef95
commit d86e0ec522
30 changed files with 34 additions and 34 deletions

View File

@@ -13,7 +13,7 @@ using OpenRA.Traits;
namespace OpenRA.Mods.Cnc
{
class DeadBuildingStateInfo : ITraitInfo, ITraitPrerequisite<HealthInfo>, ITraitPrerequisite<RenderSimpleInfo>
class DeadBuildingStateInfo : ITraitInfo, Requires<HealthInfo>, Requires<RenderSimpleInfo>
{
public readonly int LingerTime = 20;
public readonly bool Zombie = false; // Civilian structures stick around after death