Mark fields readonly.
This commit is contained in:
committed by
abcdefg30
parent
4a60d56753
commit
b147da388a
@@ -274,9 +274,9 @@ namespace OpenRA.Mods.Common.Traits
|
||||
readonly Actor self;
|
||||
readonly BuildingInfluence influence;
|
||||
|
||||
(CPos, SubCell)[] occupiedCells;
|
||||
(CPos, SubCell)[] targetableCells;
|
||||
CPos[] transitOnlyCells;
|
||||
readonly (CPos, SubCell)[] occupiedCells;
|
||||
readonly (CPos, SubCell)[] targetableCells;
|
||||
readonly CPos[] transitOnlyCells;
|
||||
|
||||
public CPos TopLeft => topLeft;
|
||||
public WPos CenterPosition { get; private set; }
|
||||
|
||||
Reference in New Issue
Block a user