From 664381e9d9ed93ae867a65e06c58f9f4ab062885 Mon Sep 17 00:00:00 2001 From: Starkku Date: Mon, 6 Apr 2020 17:42:41 +0300 Subject: [PATCH] Tweaks to field / property modifiers. --- MapTool/MapTool.cs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/MapTool/MapTool.cs b/MapTool/MapTool.cs index 15191ad..a9012f0 100644 --- a/MapTool/MapTool.cs +++ b/MapTool/MapTool.cs @@ -49,11 +49,11 @@ class MapTool /// /// Map file. /// - private INIFile mapINI; + private readonly INIFile mapINI; /// /// Map theater. /// - private string mapTheater = null; + private readonly string mapTheater = null; /// /// Map local width. /// @@ -90,35 +90,35 @@ class MapTool /// /// Conversion profile INI file. /// - private INIFile conversionProfileINI; + private readonly INIFile conversionProfileINI; /// /// Conversion profile applicable theaters. /// - private List applicableTheaters = new List(); + private readonly List applicableTheaters = new List(); /// /// Conversion profile theater-specific global tile offsets. /// - private Dictionary> theaterTileOffsets = new Dictionary>(); + private readonly Dictionary> theaterTileOffsets = new Dictionary>(); /// /// Conversion profile new theater. /// - private string newTheater = null; + private readonly string newTheater = null; /// /// Conversion profile tile rules. /// - private List tileRules = new List(); + private readonly List tileRules = new List(); /// /// Conversion profile overlay rules. /// - private List overlayRules = new List(); + private readonly List overlayRules = new List(); /// /// Conversion profile object rules. /// - private List objectRules = new List(); + private readonly List objectRules = new List(); /// /// // Conversion profile section rules. /// - private List sectionRules = new List(); + private readonly List sectionRules = new List(); /// /// Optimize output map file or not. @@ -143,12 +143,12 @@ class MapTool /// /// Map tile data sort mode. /// - private IsoMapPack5SortMode isoMapPack5SortBy = IsoMapPack5SortMode.NotDefined; + private readonly IsoMapPack5SortMode isoMapPack5SortBy = IsoMapPack5SortMode.NotDefined; /// /// Theater configuration file. /// - private INIFile theaterConfigINI; + private readonly INIFile theaterConfigINI; /// /// OverlayPack/DataPack length.