Use consistent spelling of 'interrupt[a|i]ble'

This commit is contained in:
Oliver Brakmann
2016-11-13 15:46:29 +01:00
parent 2c66ee8c13
commit fd22b19183
2 changed files with 6 additions and 6 deletions

View File

@@ -16,10 +16,10 @@ namespace OpenRA.Activities
public class CallFunc : Activity public class CallFunc : Activity
{ {
public CallFunc(Action a) { this.a = a; } public CallFunc(Action a) { this.a = a; }
public CallFunc(Action a, bool interruptable) public CallFunc(Action a, bool interruptible)
{ {
this.a = a; this.a = a;
IsInterruptible = interruptable; IsInterruptible = interruptible;
} }
Action a; Action a;

View File

@@ -19,10 +19,10 @@ namespace OpenRA.Mods.Common.Activities
int remainingTicks; int remainingTicks;
public Wait(int period) { remainingTicks = period; } public Wait(int period) { remainingTicks = period; }
public Wait(int period, bool interruptable) public Wait(int period, bool interruptible)
{ {
remainingTicks = period; remainingTicks = period;
IsInterruptible = interruptable; IsInterruptible = interruptible;
} }
public override Activity Tick(Actor self) public override Activity Tick(Actor self)
@@ -45,10 +45,10 @@ namespace OpenRA.Mods.Common.Activities
Func<bool> f; Func<bool> f;
public WaitFor(Func<bool> f) { this.f = f; } public WaitFor(Func<bool> f) { this.f = f; }
public WaitFor(Func<bool> f, bool interruptable) public WaitFor(Func<bool> f, bool interruptible)
{ {
this.f = f; this.f = f;
IsInterruptible = interruptable; IsInterruptible = interruptible;
} }
public override Activity Tick(Actor self) public override Activity Tick(Actor self)