Use readonly where possible in AttackMoveActivity
This commit is contained in:
@@ -21,8 +21,9 @@ namespace OpenRA.Mods.Common.Activities
|
|||||||
{
|
{
|
||||||
readonly Func<Activity> getInner;
|
readonly Func<Activity> getInner;
|
||||||
readonly bool isAssaultMove;
|
readonly bool isAssaultMove;
|
||||||
AutoTarget autoTarget;
|
readonly AutoTarget autoTarget;
|
||||||
AttackMove attackMove;
|
readonly AttackMove attackMove;
|
||||||
|
|
||||||
int token = Actor.InvalidConditionToken;
|
int token = Actor.InvalidConditionToken;
|
||||||
|
|
||||||
public AttackMoveActivity(Actor self, Func<Activity> getInner, bool assaultMoving = false)
|
public AttackMoveActivity(Actor self, Func<Activity> getInner, bool assaultMoving = false)
|
||||||
|
|||||||
Reference in New Issue
Block a user