Mark fields readonly.

This commit is contained in:
Matthias Mailänder
2021-12-05 13:43:52 +01:00
committed by abcdefg30
parent 4a60d56753
commit b147da388a
5 changed files with 10 additions and 9 deletions

View File

@@ -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; }