Merge pull request #10143 from Phrohdoh/interface-reflection
Implement a utility command to check for explicit interface implementation violations.
This commit is contained in:
@@ -114,7 +114,7 @@ namespace OpenRA.Mods.RA.Traits
|
||||
}
|
||||
|
||||
// Show the remaining time as a bar
|
||||
public float GetValue()
|
||||
float ISelectionBar.GetValue()
|
||||
{
|
||||
if (!info.ReturnToOrigin)
|
||||
return 0f;
|
||||
@@ -126,7 +126,7 @@ namespace OpenRA.Mods.RA.Traits
|
||||
return (float)ReturnTicks / duration;
|
||||
}
|
||||
|
||||
public Color GetColor() { return info.TimeBarColor; }
|
||||
Color ISelectionBar.GetColor() { return info.TimeBarColor; }
|
||||
|
||||
public void ModifyDeathActorInit(Actor self, TypeDictionary init)
|
||||
{
|
||||
|
||||
@@ -105,12 +105,12 @@ namespace OpenRA.Mods.RA.Traits
|
||||
get { return chargeTick <= 0; }
|
||||
}
|
||||
|
||||
public float GetValue()
|
||||
float ISelectionBar.GetValue()
|
||||
{
|
||||
return (float)(Info.ChargeDelay - chargeTick) / Info.ChargeDelay;
|
||||
}
|
||||
|
||||
public Color GetColor() { return Color.Magenta; }
|
||||
Color ISelectionBar.GetColor() { return Color.Magenta; }
|
||||
}
|
||||
|
||||
class PortableChronoOrderTargeter : IOrderTargeter
|
||||
|
||||
Reference in New Issue
Block a user