public void ClearData() { // TileData.Clear(); StartX = TileMapWidth / 2; StartY = TileMapHeight / 2; TriggerLink = null; WarpsData.Clear(); SignpostsData.Clear(); NPCData.Clear(); ScriptData.Clear(); OverlayLink = null; HouseData.Clear(); High = null; FlagMap = new Flags(); // RawFlagMap = new SerializableFlag(); ListFlagAction = new List <FlagAction>(); RawFlagAction = new List <FlagAction.SerializableFlagAction>(); }