From ebc0566fca6b670a9884aa2eb0ef3188966a6bf4 Mon Sep 17 00:00:00 2001 From: nolemretaW Date: Sun, 21 Apr 2024 13:45:24 +0200 Subject: [PATCH] terrain sets and more formats supported --- .editorconfig | 206 ------ .vscode/launch.json | 54 -- .vscode/tasks.json | 65 -- README.md | 15 +- .../TiledCSPlus.Example.csproj | 1 + TiledCSPlus.Test/TiledCSPlus.Test.csproj | 2 + TiledCSPlus.Test/TiledMap.cs | 16 +- TiledCSPlus.Test/TiledTileset.cs | 59 ++ TiledCSPlus.Test/Usings.cs | 3 +- .../assets/TiledCSPlus_test.tiled-session | 28 +- TiledCSPlus.Test/assets/tilemap1.10.tmx | 34 +- TiledCSPlus.Test/assets/tilemap1.9.tmx | 34 +- TiledCSPlus.Test/assets/tileset.tsx | 14 +- TiledCSPlus/Enums.cs | 52 ++ TiledCSPlus/NuGet.md | 2 +- TiledCSPlus/TiledCSPlus.csproj | 14 +- TiledCSPlus/TiledMap.cs | 79 ++- TiledCSPlus/TiledModels.cs | 168 +++-- TiledCSPlus/TiledTileset.cs | 150 ++++- .../CSharp/TiledCSPlus/Color-Summary.js | 1 - .../TiledCSPlus/Color-SummaryToolTips.js | 1 - .../CSharp/TiledCSPlus/Color-ToolTips.js | 1 - docs/classes/CSharp/TiledCSPlus/Color.html | 61 -- .../CSharp/TiledCSPlus/Extensions-Summary.js | 2 +- .../TiledCSPlus/Extensions-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/Extensions.html | 14 +- .../CSharp/TiledCSPlus/Size-Summary.js | 2 +- .../TiledCSPlus/Size-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/Size-ToolTips.js | 2 +- docs/classes/CSharp/TiledCSPlus/Size.html | 32 +- .../CSharp/TiledCSPlus/TiledChunk-Summary.js | 2 +- .../TiledCSPlus/TiledChunk-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledChunk.html | 30 +- .../TiledCSPlus/TiledEllipse-Summary.js | 2 +- .../TiledEllipse-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledEllipse.html | 4 +- .../CSharp/TiledCSPlus/TiledGroup-Summary.js | 2 +- .../TiledCSPlus/TiledGroup-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledGroup-ToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledGroup.html | 38 +- .../CSharp/TiledCSPlus/TiledImage-Summary.js | 2 +- .../TiledCSPlus/TiledImage-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledImage.html | 20 +- .../CSharp/TiledCSPlus/TiledLayer-Summary.js | 2 +- .../TiledCSPlus/TiledLayer-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledLayer-ToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledLayer.html | 82 +-- .../CSharp/TiledCSPlus/TiledMap-Summary.js | 2 +- .../TiledCSPlus/TiledMap-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledMap-ToolTips.js | 2 +- docs/classes/CSharp/TiledCSPlus/TiledMap.html | 255 +++----- .../TiledCSPlus/TiledMapTileset-Summary.js | 2 +- .../TiledMapTileset-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledMapTileset.html | 18 +- .../CSharp/TiledCSPlus/TiledObject-Summary.js | 2 +- .../TiledObject-SummaryToolTips.js | 2 +- .../TiledCSPlus/TiledObject-ToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledObject.html | 54 +- .../CSharp/TiledCSPlus/TiledPoint-Summary.js | 2 +- .../TiledCSPlus/TiledPoint-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledPoint.html | 4 +- .../TiledCSPlus/TiledPolygon-Summary.js | 2 +- .../TiledPolygon-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledPolygon.html | 10 +- .../TiledCSPlus/TiledProperty-Summary.js | 2 +- .../TiledProperty-SummaryToolTips.js | 2 +- .../TiledCSPlus/TiledProperty-ToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledProperty.html | 18 +- .../TiledCSPlus/TiledSourceRect-Summary.js | 2 +- .../TiledSourceRect-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledSourceRect.html | 22 +- .../TiledCSPlus/TiledTerrainSet-Summary.js | 1 + .../TiledTerrainSet-SummaryToolTips.js | 1 + .../TiledCSPlus/TiledTerrainSet-ToolTips.js | 1 + .../CSharp/TiledCSPlus/TiledTerrainSet.html | 65 ++ .../TiledTerrainSetColor-Summary.js | 1 + .../TiledTerrainSetColor-SummaryToolTips.js | 1 + .../TiledTerrainSetColor-ToolTips.js | 1 + .../TiledCSPlus/TiledTerrainSetColor.html | 59 ++ .../TiledTerrainSetTile-Summary.js | 1 + .../TiledTerrainSetTile-SummaryToolTips.js | 1 + .../TiledTerrainSetTile-ToolTips.js | 1 + .../TiledCSPlus/TiledTerrainSetTile.html | 71 +++ .../CSharp/TiledCSPlus/TiledTile-Summary.js | 2 +- .../TiledCSPlus/TiledTile-SummaryToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledTile-ToolTips.js | 2 +- .../classes/CSharp/TiledCSPlus/TiledTile.html | 34 +- .../TiledCSPlus/TiledTileAnimation-Summary.js | 2 +- .../TiledTileAnimation-SummaryToolTips.js | 2 +- .../TiledCSPlus/TiledTileAnimation.html | 14 +- .../TiledCSPlus/TiledTileset-Summary.js | 2 +- .../TiledTileset-SummaryToolTips.js | 2 +- .../TiledCSPlus/TiledTileset-ToolTips.js | 2 +- .../CSharp/TiledCSPlus/TiledTileset.html | 116 ++-- docs/files/Enums-cs-Summary.js | 2 +- docs/files/Enums-cs-SummaryToolTips.js | 2 +- docs/files/Enums-cs.html | 22 +- docs/files/Extensions-cs-Summary.js | 2 +- docs/files/Extensions-cs-SummaryToolTips.js | 2 +- docs/files/Extensions-cs.html | 14 +- docs/files/TiledMap-cs-Summary.js | 2 +- docs/files/TiledMap-cs-SummaryToolTips.js | 2 +- docs/files/TiledMap-cs-ToolTips.js | 2 +- docs/files/TiledMap-cs.html | 255 +++----- docs/files/TiledModels-cs-Summary.js | 2 +- docs/files/TiledModels-cs-SummaryToolTips.js | 2 +- docs/files/TiledModels-cs-ToolTips.js | 2 +- docs/files/TiledModels-cs.html | 584 ++++++++++-------- docs/files/TiledTileset-cs-Summary.js | 2 +- docs/files/TiledTileset-cs-SummaryToolTips.js | 2 +- docs/files/TiledTileset-cs-ToolTips.js | 2 +- docs/files/TiledTileset-cs.html | 116 ++-- docs/index.html | 4 +- docs/menu/classes.js | 2 +- docs/other/home.html | 4 +- docs/search/index.js | 2 +- docs/search/keywords/0061.js | 1 - docs/search/keywords/0062.js | 1 - docs/search/keywords/0062006f0074.js | 1 + docs/search/keywords/0063006c0061.js | 2 +- docs/search/keywords/0063006f006c.js | 2 +- docs/search/keywords/006500710075.js | 1 - docs/search/keywords/0066006c0069.js | 1 - docs/search/keywords/0067.js | 1 - docs/search/keywords/006800650069.js | 2 +- docs/search/keywords/006c00650066.js | 1 + docs/search/keywords/006e0061006d.js | 2 +- docs/search/keywords/007000610072.js | 2 +- docs/search/keywords/00700072006f.js | 2 +- docs/search/keywords/0072.js | 1 - docs/search/keywords/007200690067.js | 1 + docs/search/keywords/007400650072.js | 2 +- docs/search/keywords/00740069006c.js | 2 +- docs/search/keywords/0074006f0070.js | 1 + docs/search/keywords/007400790070.js | 2 +- docs/search/keywords/007700690064.js | 2 +- 136 files changed, 1624 insertions(+), 1548 deletions(-) delete mode 100755 .editorconfig delete mode 100644 .vscode/launch.json delete mode 100644 .vscode/tasks.json create mode 100644 TiledCSPlus.Test/TiledTileset.cs delete mode 100644 docs/classes/CSharp/TiledCSPlus/Color-Summary.js delete mode 100644 docs/classes/CSharp/TiledCSPlus/Color-SummaryToolTips.js delete mode 100644 docs/classes/CSharp/TiledCSPlus/Color-ToolTips.js delete mode 100644 docs/classes/CSharp/TiledCSPlus/Color.html create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-Summary.js create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-SummaryToolTips.js create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-ToolTips.js create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSet.html create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-Summary.js create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-SummaryToolTips.js create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-ToolTips.js create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor.html create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-Summary.js create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-SummaryToolTips.js create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-ToolTips.js create mode 100644 docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile.html delete mode 100644 docs/search/keywords/0061.js delete mode 100644 docs/search/keywords/0062.js create mode 100644 docs/search/keywords/0062006f0074.js delete mode 100644 docs/search/keywords/006500710075.js delete mode 100644 docs/search/keywords/0066006c0069.js delete mode 100644 docs/search/keywords/0067.js create mode 100644 docs/search/keywords/006c00650066.js delete mode 100644 docs/search/keywords/0072.js create mode 100644 docs/search/keywords/007200690067.js create mode 100644 docs/search/keywords/0074006f0070.js diff --git a/.editorconfig b/.editorconfig deleted file mode 100755 index 8373e60..0000000 --- a/.editorconfig +++ /dev/null @@ -1,206 +0,0 @@ -# Remove the line below if you want to inherit .editorconfig settings from higher directories -root = true - -# C# files -[*.cs] - -#### Core EditorConfig Options #### - -# Indentation and spacing -indent_size = 4 -indent_style = space -tab_width = 4 - -# New line preferences -end_of_line = crlf -insert_final_newline = false - -#### .NET Coding Conventions #### - -# Organize usings -dotnet_separate_import_directive_groups = false -dotnet_sort_system_directives_first = false -file_header_template = unset - -# this. and Me. preferences -dotnet_style_qualification_for_event = false:silent -dotnet_style_qualification_for_field = false:silent -dotnet_style_qualification_for_method = false:silent -dotnet_style_qualification_for_property = false:silent - -# Language keywords vs BCL types preferences -dotnet_style_predefined_type_for_locals_parameters_members = true:silent -dotnet_style_predefined_type_for_member_access = true:silent - -# Parentheses preferences -dotnet_style_parentheses_in_arithmetic_binary_operators = always_for_clarity:silent -dotnet_style_parentheses_in_other_binary_operators = always_for_clarity:silent -dotnet_style_parentheses_in_other_operators = never_if_unnecessary:silent -dotnet_style_parentheses_in_relational_binary_operators = always_for_clarity:silent - -# Modifier preferences -dotnet_style_require_accessibility_modifiers = for_non_interface_members:silent - -# Expression-level preferences -dotnet_style_coalesce_expression = true:suggestion -dotnet_style_collection_initializer = true:suggestion -dotnet_style_explicit_tuple_names = true:suggestion -dotnet_style_null_propagation = true:suggestion -dotnet_style_object_initializer = true:suggestion -dotnet_style_operator_placement_when_wrapping = beginning_of_line -dotnet_style_prefer_auto_properties = true:silent -dotnet_style_prefer_compound_assignment = true:suggestion -dotnet_style_prefer_conditional_expression_over_assignment = true:silent -dotnet_style_prefer_conditional_expression_over_return = true:silent -dotnet_style_prefer_inferred_anonymous_type_member_names = true:suggestion -dotnet_style_prefer_inferred_tuple_names = true:suggestion -dotnet_style_prefer_is_null_check_over_reference_equality_method = true:suggestion -dotnet_style_prefer_simplified_boolean_expressions = true:suggestion -dotnet_style_prefer_simplified_interpolation = true:suggestion - -# Field preferences -dotnet_style_readonly_field = true:suggestion - -# Parameter preferences -dotnet_code_quality_unused_parameters = all:suggestion - -# Suppression preferences -dotnet_remove_unnecessary_suppression_exclusions = none - -#### C# Coding Conventions #### - -# var preferences -csharp_style_var_elsewhere = false:silent -csharp_style_var_for_built_in_types = false:silent -csharp_style_var_when_type_is_apparent = false:silent - -# Expression-bodied members -csharp_style_expression_bodied_accessors = true:silent -csharp_style_expression_bodied_constructors = false:silent -csharp_style_expression_bodied_indexers = true:silent -csharp_style_expression_bodied_lambdas = true:silent -csharp_style_expression_bodied_local_functions = false:silent -csharp_style_expression_bodied_methods = false:silent -csharp_style_expression_bodied_operators = false:silent -csharp_style_expression_bodied_properties = true:silent - -# Pattern matching preferences -csharp_style_pattern_matching_over_as_with_null_check = true:suggestion -csharp_style_pattern_matching_over_is_with_cast_check = true:suggestion -csharp_style_prefer_not_pattern = true:suggestion -csharp_style_prefer_pattern_matching = true:silent -csharp_style_prefer_switch_expression = true:suggestion - -# Null-checking preferences -csharp_style_conditional_delegate_call = true:suggestion - -# Modifier preferences -csharp_prefer_static_local_function = true:suggestion -csharp_preferred_modifier_order = public,private,protected,internal,static,extern,new,virtual,abstract,sealed,override,readonly,unsafe,volatile,async:silent - -# Code-block preferences -csharp_prefer_braces = true:silent -csharp_prefer_simple_using_statement = true:suggestion - -# Expression-level preferences -csharp_prefer_simple_default_expression = true:suggestion -csharp_style_deconstructed_variable_declaration = true:suggestion -csharp_style_inlined_variable_declaration = true:suggestion -csharp_style_pattern_local_over_anonymous_function = true:suggestion -csharp_style_prefer_index_operator = true:suggestion -csharp_style_prefer_range_operator = true:suggestion -csharp_style_throw_expression = true:suggestion -csharp_style_unused_value_assignment_preference = discard_variable:suggestion -csharp_style_unused_value_expression_statement_preference = discard_variable:silent - -# 'using' directive preferences -csharp_using_directive_placement = outside_namespace:silent - -#### C# Formatting Rules #### - -# New line preferences -csharp_new_line_before_catch = true -csharp_new_line_before_else = true -csharp_new_line_before_finally = true -csharp_new_line_before_members_in_anonymous_types = true -csharp_new_line_before_members_in_object_initializers = true -csharp_new_line_before_open_brace = all -csharp_new_line_between_query_expression_clauses = true - -# Indentation preferences -csharp_indent_block_contents = true -csharp_indent_braces = false -csharp_indent_case_contents = true -csharp_indent_case_contents_when_block = false -csharp_indent_labels = no_change -csharp_indent_switch_labels = true - -# Space preferences -csharp_space_after_cast = false -csharp_space_after_colon_in_inheritance_clause = true -csharp_space_after_comma = true -csharp_space_after_dot = false -csharp_space_after_keywords_in_control_flow_statements = false -csharp_space_after_semicolon_in_for_statement = true -csharp_space_around_binary_operators = before_and_after -csharp_space_around_declaration_statements = false -csharp_space_before_colon_in_inheritance_clause = true -csharp_space_before_comma = false -csharp_space_before_dot = false -csharp_space_before_open_square_brackets = false -csharp_space_before_semicolon_in_for_statement = false -csharp_space_between_empty_square_brackets = false -csharp_space_between_method_call_empty_parameter_list_parentheses = false -csharp_space_between_method_call_name_and_opening_parenthesis = false -csharp_space_between_method_call_parameter_list_parentheses = false -csharp_space_between_method_declaration_empty_parameter_list_parentheses = false -csharp_space_between_method_declaration_name_and_open_parenthesis = false -csharp_space_between_method_declaration_parameter_list_parentheses = false -csharp_space_between_parentheses = false -csharp_space_between_square_brackets = false - -# Wrapping preferences -csharp_preserve_single_line_blocks = true -csharp_preserve_single_line_statements = true - -#### Naming styles #### - -# Naming rules - -dotnet_naming_rule.interface_should_be_begins_with_i.severity = suggestion -dotnet_naming_rule.interface_should_be_begins_with_i.symbols = interface -dotnet_naming_rule.interface_should_be_begins_with_i.style = begins_with_i - -dotnet_naming_rule.types_should_be_pascal_case.severity = suggestion -dotnet_naming_rule.types_should_be_pascal_case.symbols = types -dotnet_naming_rule.types_should_be_pascal_case.style = pascal_case - -dotnet_naming_rule.non_field_members_should_be_pascal_case.severity = suggestion -dotnet_naming_rule.non_field_members_should_be_pascal_case.symbols = non_field_members -dotnet_naming_rule.non_field_members_should_be_pascal_case.style = pascal_case - -# Symbol specifications - -dotnet_naming_symbols.interface.applicable_kinds = interface -dotnet_naming_symbols.interface.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected -dotnet_naming_symbols.interface.required_modifiers = - -dotnet_naming_symbols.types.applicable_kinds = class, struct, interface, enum -dotnet_naming_symbols.types.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected -dotnet_naming_symbols.types.required_modifiers = - -dotnet_naming_symbols.non_field_members.applicable_kinds = property, event, method -dotnet_naming_symbols.non_field_members.applicable_accessibilities = public, internal, private, protected, protected_internal, private_protected -dotnet_naming_symbols.non_field_members.required_modifiers = - -# Naming styles - -dotnet_naming_style.pascal_case.required_prefix = -dotnet_naming_style.pascal_case.required_suffix = -dotnet_naming_style.pascal_case.word_separator = -dotnet_naming_style.pascal_case.capitalization = pascal_case - -dotnet_naming_style.begins_with_i.required_prefix = I -dotnet_naming_style.begins_with_i.required_suffix = -dotnet_naming_style.begins_with_i.word_separator = -dotnet_naming_style.begins_with_i.capitalization = pascal_case diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 2e923c3..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - "version": "0.2.0", - "configurations": [ - { - // Use IntelliSense to find out which attributes exist for C# debugging - // Use hover for the description of the existing attributes - // For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md - "name": ".NET Core Launch (console)", - "type": "coreclr", - "request": "launch", - "preLaunchTask": "build", - // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/TiledCSPlus/bin/Debug/net7.0/TiledCSPlus.dll", - "args": [], - "cwd": "${workspaceFolder}", - // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console - "console": "internalConsole", - "stopAtEntry": false, - "pipeTransport": { - "pipeCwd": "${workspaceFolder}", - "pipeProgram": "/usr/bin/bash", - "pipeArgs": ["-c"], - "debuggerPath": "/usr/bin/netcoredbg" - } - }, - { - // Use IntelliSense to find out which attributes exist for C# debugging - // Use hover for the description of the existing attributes - // For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md - "name": ".NET Core Launch Test (console)", - "type": "coreclr", - "request": "launch", - "preLaunchTask": "buildTest", - // If you have changed target frameworks, make sure to update the program path. - "program": "${workspaceFolder}/TiledCSPlus.Example/bin/Debug/net7.0/TiledCSPlus.Example.dll", - "args": [], - "cwd": "${workspaceFolder}/TiledCSPlus.Example/bin/Debug/net7.0/", - // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console - "console": "internalConsole", - "stopAtEntry": true, - "pipeTransport": { - "pipeCwd": "${workspaceFolder}", - "pipeProgram": "/usr/bin/bash", - "pipeArgs": ["-c"], - "debuggerPath": "/usr/bin/netcoredbg" - } - }, - { - "name": ".NET Core Attach", - "type": "coreclr", - "request": "attach" - } - ] -} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 57d9390..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,65 +0,0 @@ -{ - "version": "2.0.0", - "tasks": [ - { - "label": "build", - "command": "dotnet", - "type": "process", - "args": [ - "build", - "${workspaceFolder}/TiledCSPlus/TiledCSPlus.csproj", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "buildTest", - "command": "dotnet", - "type": "process", - "args": [ - "build", - "${workspaceFolder}/TiledCSPlus.Example/TiledCSPlus.Example.csproj", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "publish", - "command": "dotnet", - "type": "process", - "args": [ - "publish", - "${workspaceFolder}/TiledCSPlus/TiledCSPlus.csproj", - "/property:GenerateFullPaths=true", - "/consoleloggerparameters:NoSummary" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "watch", - "command": "dotnet", - "type": "process", - "args": [ - "watch", - "run", - "--project", - "${workspaceFolder}/TiledCSPlus/TiledCSPlus.csproj" - ], - "problemMatcher": "$msCompile" - }, - { - "label": "test", - "command": "dotnet", - "type": "process", - "args": [ - "watch", - "run", - "--project", - "${workspaceFolder}/TiledCSPlus.Example/TiledCSPlus.Example.csproj" - ], - "problemMatcher": "$msCompile" - } - ] -} \ No newline at end of file diff --git a/README.md b/README.md index 7afd247..2967f9f 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,6 @@ # TiledCSPlus -TiledCSPlus is an extended, and up to date fork of [TiledCS](https://github.com/TheBoneJarmer/TiledCS), a .NET library for loading Tiled maps and tilesets. Currently supports only uncompressed Base64 encoded .TMX maps and .TSX tilesets. - -## Planned features -* Support for Tiled 1.9 and 1.10 features. -* ~~Embedded tilesets~~ Done! -* ~~Better layer arrangement (layers will be arranged in order from top to bottom, instead of current tile layers, then object layers, and image layers at the end)~~ Also done! -* Support for more formats. -* Support for terrains. +TiledCSPlus is an extended, and up to date fork of [TiledCS](https://github.com/TheBoneJarmer/TiledCS), a .NET library for loading Tiled maps and tilesets. ## Installation ### NuGet @@ -17,10 +10,10 @@ Add `TiledCSPlus.dll` as a dependency in your project. ## Documentation Full API reference is available at https://nolemretawxd.github.io/TiledCSPlus. -For examples, see [TiledCSPlus.Examples](TiledCSPlus.Examples) project. +For examples, see [TiledCSPlus.Example](TiledCSPlus.Example) project. -## Does it break compability? -**YES**, practically every field was renamed to be in PascalCase, and few fields were combined into one property eg. `offsetX` and `offsetY` into `Vector2` `offset`. Except those few changes, API didn't change much as of now. +## Supported versions +TiledCSPlus supports versions 1.8, 1.9 and 1.10. Older versions might work, but because they're old, I won't be supporting them. For older releases, see original TiledCS. ## License TiledCSPlus is [licensed under MIT license](LICENSE). TiledCS, the original project, was created by [Ruben Labruyere](https://github.com/TheBoneJarmer), and it was [licensed under MIT license](LICENSE_orig). diff --git a/TiledCSPlus.Example/TiledCSPlus.Example.csproj b/TiledCSPlus.Example/TiledCSPlus.Example.csproj index 965b050..2c2cd3c 100644 --- a/TiledCSPlus.Example/TiledCSPlus.Example.csproj +++ b/TiledCSPlus.Example/TiledCSPlus.Example.csproj @@ -3,6 +3,7 @@ Exe net7.0 + 12 diff --git a/TiledCSPlus.Test/TiledCSPlus.Test.csproj b/TiledCSPlus.Test/TiledCSPlus.Test.csproj index d99350d..f209e0c 100644 --- a/TiledCSPlus.Test/TiledCSPlus.Test.csproj +++ b/TiledCSPlus.Test/TiledCSPlus.Test.csproj @@ -6,6 +6,8 @@ enable false + + 12 diff --git a/TiledCSPlus.Test/TiledMap.cs b/TiledCSPlus.Test/TiledMap.cs index ee8d67a..86eff87 100644 --- a/TiledCSPlus.Test/TiledMap.cs +++ b/TiledCSPlus.Test/TiledMap.cs @@ -4,14 +4,12 @@ public class TiledMapTest { private TiledMap? TiledMap; private TiledMap? TiledMap19; - private Dictionary? Tilesets; [SetUp] public void Setup() { TiledMap = new TiledMap("assets/tilemap1.10.tmx"); TiledMap19 = new("assets/tilemap1.9.tmx"); - Tilesets = TiledMap.GetTiledTilesets("assets/"); } [Test] @@ -24,7 +22,7 @@ public void MapMetadata() TiledMap?.TileHeight.ShouldBe(16); TiledMap?.TileWidth.ShouldBe(16); TiledMap?.Orientation.ShouldBe("orthogonal"); - TiledMap?.BackgroundColor.ShouldBe(new Color(1, 2, 3, 4)); + TiledMap?.BackgroundColor.ShouldBe(Color.FromArgb(4, 1, 2, 3)); } [Test] @@ -36,16 +34,13 @@ public void Tileset() TiledMap?.Tilesets[1].FirstGid.ShouldBe(2); TiledMap?.Tilesets[1].Source.ShouldBe(null); TiledMap?.Tilesets[1].IsTilesetEmbedded.ShouldBe(true); - - Tilesets?[1].Image.Source.ShouldBe("tileset.png"); - Tilesets?[1].TilesetVersion.ShouldBe("1.8"); TiledMap?.EmbeddedTilesets[2].Name.ShouldBe("tileset-embedded110"); } [Test] public void Layers() { - TiledMap?.Layers[0].TintColor.ShouldBe(new Color(255, 254, 253, 252)); + TiledMap?.Layers[0].TintColor.ShouldBe(Color.FromArgb(252, 255, 254, 253)); TiledMap?.Layers[2].Name.ShouldBe("Image Layer 1"); TiledMap?.Layers[1].Objects[0].Class.ShouldBe("test110"); } @@ -56,4 +51,11 @@ public void CompabilityWith19() TiledMap19?.MapVersion.ShouldBe("1.9"); TiledMap19?.Layers[1].Objects[0].Class.ShouldBe("test19"); } + + [Test] + public void Compression() + { + TiledMap19?.TileLayerFormat.ShouldBe(TiledTileLayerFormat.GzipBase64); + TiledMap?.TileLayerFormat.ShouldBe(TiledTileLayerFormat.ZstdBase64); + } } \ No newline at end of file diff --git a/TiledCSPlus.Test/TiledTileset.cs b/TiledCSPlus.Test/TiledTileset.cs new file mode 100644 index 0000000..9816326 --- /dev/null +++ b/TiledCSPlus.Test/TiledTileset.cs @@ -0,0 +1,59 @@ +namespace TiledCSPlus.Test; + +public class TiledTilesetTest +{ + private TiledTileset Tileset; + + [SetUp] + public void Setup() + { + Tileset = new TiledTileset("assets/tileset.tsx"); + } + + [Test] + public void TilesetMetadata() + { + Tileset?.TilesetVersion.ShouldBe("1.10"); + Tileset?.TiledVersion.ShouldBe("1.10.2"); + Tileset?.Name.ShouldBe("tileset"); + Tileset?.TileWidth.ShouldBe(16); + Tileset?.TileHeight.ShouldBe(16); + } + + [Test] + public void TilesetImage() + { + Tileset?.Image.Source.ShouldBe("tileset.png"); + Tileset?.Image.Width.ShouldBe(16); + } + + [Test] + public void TilesetTerrainSet() + { + Tileset?.TerrainSets[0].Name.ShouldBe("Unnamed Set"); + Tileset?.TerrainSets[0].Type.ShouldBe(TiledTerrainSetType.Corner); + Tileset?.TerrainSets[0].Tile.ShouldBe(-1); + } + + [Test] + public void TilesetTerrainSetColor() + { + Tileset?.TerrainSets[0].TerrainSetColors[0].Name.ShouldBe("test123"); + Tileset?.TerrainSets[0].TerrainSetColors[0].Color.ShouldBe(Color.FromArgb(1, 2, 3)); + Tileset?.TerrainSets[0].TerrainSetColors[0].Tile.ShouldBe(-1); + Tileset?.TerrainSets[0].TerrainSetColors[0].Probability.ShouldBe(1); + } + + [Test] + public void TilesetTerrainSetTile() + { + Tileset?.TerrainSets[0].TerrainSetTiles[0].Top.ShouldBe(0); + Tileset?.TerrainSets[0].TerrainSetTiles[0].TopRight.ShouldBe(1); + Tileset?.TerrainSets[0].TerrainSetTiles[0].Right.ShouldBe(0); + Tileset?.TerrainSets[0].TerrainSetTiles[0].BottomRight.ShouldBe(1); + Tileset?.TerrainSets[0].TerrainSetTiles[0].Bottom.ShouldBe(0); + Tileset?.TerrainSets[0].TerrainSetTiles[0].BottomLeft.ShouldBe(1); + Tileset?.TerrainSets[0].TerrainSetTiles[0].Left.ShouldBe(0); + Tileset?.TerrainSets[0].TerrainSetTiles[0].TopLeft.ShouldBe(1); + } +} \ No newline at end of file diff --git a/TiledCSPlus.Test/Usings.cs b/TiledCSPlus.Test/Usings.cs index 82886d7..8860205 100644 --- a/TiledCSPlus.Test/Usings.cs +++ b/TiledCSPlus.Test/Usings.cs @@ -1,2 +1,3 @@ global using NUnit.Framework; -global using Shouldly; \ No newline at end of file +global using Shouldly; +global using System.Drawing; \ No newline at end of file diff --git a/TiledCSPlus.Test/assets/TiledCSPlus_test.tiled-session b/TiledCSPlus.Test/assets/TiledCSPlus_test.tiled-session index a99818e..82198ca 100644 --- a/TiledCSPlus.Test/assets/TiledCSPlus_test.tiled-session +++ b/TiledCSPlus.Test/assets/TiledCSPlus_test.tiled-session @@ -3,7 +3,7 @@ "height": 4300, "width": 2 }, - "activeFile": "tileset.tsx", + "activeFile": "tilemap1.9.tmx", "expandedProjectPaths": [ "." ], @@ -51,12 +51,23 @@ "tilemap.tmx#tileset-embedded": { "scaleInDock": 1 }, + "tilemap1.10.tmx": { + "scale": 2.743125, + "selectedLayer": 0, + "viewCenter": { + "x": 79.83595352016405, + "y": 79.65367965367966 + } + }, + "tilemap1.10.tmx#tileset-embedded110": { + "scaleInDock": 1 + }, "tilemap1.9.tmx": { "scale": 3.645625, "selectedLayer": 1, "viewCenter": { - "x": 80.09600548602779, - "y": 80.23315618035316 + "x": 295.1482941882394, + "y": 181.86182067546721 } }, "tilemap1.9.tmx#tileset-embedded": { @@ -68,7 +79,7 @@ }, "tileset.tsx": { "scaleInDock": 1, - "scaleInEditor": 1 + "scaleInEditor": 32 } }, "last.externalTilesetPath": "D:/Projects/csharp/TiledCSPlus/TiledCSPlus.Test/assets", @@ -79,15 +90,16 @@ "map.tileWidth": 16, "map.width": 10, "openFiles": [ - "D:/Projects/csharp/MelonEngine/MelonEngine.Common/data/levels/map01.tmx", "tilemap1.9.tmx", - "tileset.tsx" + "tileset.tsx", + "tilemap1.10.tmx" ], "project": "TiledCSPlus_test.tiled-project", "recentFiles": [ - "D:/Projects/csharp/MelonEngine/MelonEngine.Common/data/levels/map01.tmx", - "tilemap1.9.tmx", + "tilemap1.10.tmx", "tileset.tsx", + "tilemap1.9.tmx", + "D:/Projects/csharp/MelonEngine/MelonEngine.Common/data/levels/map01.tmx", "D:/Projects/csharp/TiledCSPlus/TiledCSPlus.Example/assets/tilemap.tmx", "tilemap.tmx" ], diff --git a/TiledCSPlus.Test/assets/tilemap1.10.tmx b/TiledCSPlus.Test/assets/tilemap1.10.tmx index 092f4f7..e1f718f 100644 --- a/TiledCSPlus.Test/assets/tilemap1.10.tmx +++ b/TiledCSPlus.Test/assets/tilemap1.10.tmx @@ -1,17 +1,17 @@ - - - - - - - - - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAABAAAAAQAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAQAAAAEAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA== - - - - - - - - + + + + + + + + + KLUv/WCQAF0BADgAAQACAQEAEqCgPSCDCrMH0wRYl3BNN7PivptU7+PhzVTa7n7g3Q6YlQQ= + + + + + + + + diff --git a/TiledCSPlus.Test/assets/tilemap1.9.tmx b/TiledCSPlus.Test/assets/tilemap1.9.tmx index 421f487..fd91369 100644 --- a/TiledCSPlus.Test/assets/tilemap1.9.tmx +++ b/TiledCSPlus.Test/assets/tilemap1.9.tmx @@ -1,17 +1,17 @@ - - - - - - - - - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAABAAAAAQAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAQAAAAEAAAAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA== - - - - - - - - + + + + + + + + + H4sIAAAAAAAAA2NgIB4wkiHHBMWUApgZjEh2YTOXWHXk2I/LHHLCBRcAAHXS7qCQAQAA + + + + + + + + diff --git a/TiledCSPlus.Test/assets/tileset.tsx b/TiledCSPlus.Test/assets/tileset.tsx index 2d3b690..ba55d6e 100644 --- a/TiledCSPlus.Test/assets/tileset.tsx +++ b/TiledCSPlus.Test/assets/tileset.tsx @@ -1,4 +1,10 @@ - - - - + + + + + + + + + + diff --git a/TiledCSPlus/Enums.cs b/TiledCSPlus/Enums.cs index 3cea2c6..220da4e 100644 --- a/TiledCSPlus/Enums.cs +++ b/TiledCSPlus/Enums.cs @@ -61,4 +61,56 @@ public enum TiledPropertyType /// Object } + + /// + /// Represents format which tile formats are saved in + /// + public enum TiledTileLayerFormat + { + /// + /// Base64 encoding + /// + Base64, + + /// + /// Base64 encoding (Gzip compressed) + /// + GzipBase64, + + /// + /// Base64 encoding (zlib compressed) + /// + ZlibBase64, + + /// + /// Base64 encoding (Zstandard compressed) + /// + ZstdBase64, + + /// + /// No encoding (saved as raw CSV) + /// + CSV + } + + /// + /// Represents terrain set types + /// + public enum TiledTerrainSetType + { + /// + /// Corner type + /// + Corner, + + /// + /// Edge type + /// + Edge, + + /// + /// Mixed type + /// + Mixed + } } \ No newline at end of file diff --git a/TiledCSPlus/NuGet.md b/TiledCSPlus/NuGet.md index fabe209..6459b0e 100644 --- a/TiledCSPlus/NuGet.md +++ b/TiledCSPlus/NuGet.md @@ -1,6 +1,6 @@ # TiledCSPlus -TiledCSPlus is an extended, and up to date fork of [TiledCS](https://github.com/TheBoneJarmer/TiledCS), a .NET library for loading Tiled maps and tilesets. Currently supports only uncompressed Base64 encoded .TMX maps and .TSX tilesets. +TiledCSPlus is an extended, and up to date fork of [TiledCS](https://github.com/TheBoneJarmer/TiledCS), a .NET library for loading Tiled maps and tilesets. ## License TiledCSPlus is [licensed under MIT license](LICENSE). TiledCS, the original project, was created by [Ruben Labruyere](https://github.com/TheBoneJarmer), and it was [licensed under MIT license](LICENSE_orig). diff --git a/TiledCSPlus/TiledCSPlus.csproj b/TiledCSPlus/TiledCSPlus.csproj index ae2f75c..ea55361 100644 --- a/TiledCSPlus/TiledCSPlus.csproj +++ b/TiledCSPlus/TiledCSPlus.csproj @@ -2,20 +2,26 @@ netstandard2.1 - 10.0 + 12 true - 4.0.1 + 4.1 nolemretaW, TheBoneJarmer TiledCSPlus is an up to date fork of TiledCS for loading Tiled maps and tilesets https://github.com/nolemretaWxd/TiledCSPlus - tiled,tmx,tsx - 1.9 compability mode, modernizations and fixes + tiled,tmx,tsx,gamedev,mapmaking,maps + Terrain sets and Zstandard and CSV formats NuGet.md MIT + 4.1.0.0 + 4.1.0.0 + + + + diff --git a/TiledCSPlus/TiledMap.cs b/TiledCSPlus/TiledMap.cs index 9702565..c6c976a 100644 --- a/TiledCSPlus/TiledMap.cs +++ b/TiledCSPlus/TiledMap.cs @@ -1,10 +1,12 @@ using System; using System.Collections.Generic; +using System.Drawing; using System.Globalization; using System.IO; using System.IO.Compression; using System.Xml; using System.Numerics; +using ZstdSharp; namespace TiledCSPlus { @@ -108,6 +110,11 @@ public class TiledMap /// public Dictionary EmbeddedTilesets { get; internal set; } + /// + /// Returns tile layer format map uses + /// + public TiledTileLayerFormat TileLayerFormat { get; internal set; } + /// /// Returns an empty instance of TiledMap /// @@ -116,9 +123,9 @@ public TiledMap() } /// - /// Loads a Tiled map in TMX format and parses it + /// Loads a Tiled map and parses it /// - /// The path to the tmx file + /// The path to the map file /// Thrown when the map could not be loaded or is not in a correct format public TiledMap(string path) { @@ -130,14 +137,7 @@ public TiledMap(string path) var content = File.ReadAllText(path); - if(path.EndsWith(".tmx")) - { - ParseXml(content); - } - else - { - throw new TiledException("Unsupported file format"); - } + ParseXml(content); } /// @@ -244,7 +244,7 @@ private TiledMapTileset[] ParseTilesets(XmlNodeList nodeList) { if(node.Attributes["source"] == null) { - //tilemap is an embedded tilemap + // tilemap is an embedded tilemap TiledTileset tileset = new(); tileset.ParseXml(node.OuterXml); int firstgid = int.Parse(node.Attributes["firstgid"].Value); @@ -393,9 +393,32 @@ private void ParseTileLayerData(XmlNode nodeData, ref TiledLayer tiledLayer) var encoding = nodeData.Attributes["encoding"].Value; var compression = nodeData.Attributes["compression"]?.Value; - if(encoding != "csv" && encoding != "base64") + if (encoding == "csv") + { + TileLayerFormat = TiledTileLayerFormat.CSV; + } else if(encoding == "base64") { - throw new TiledException("Only CSV and Base64 encodings are currently supported"); + switch (compression) + { + case "gzip": + TileLayerFormat = TiledTileLayerFormat.GzipBase64; + break; + case "zlib": + TileLayerFormat = TiledTileLayerFormat.ZlibBase64; + break; + case "zstd": + TileLayerFormat = TiledTileLayerFormat.ZstdBase64; + break; + case null: + TileLayerFormat = TiledTileLayerFormat.Base64; + break; + default: + throw new TiledException($"Unsupported compression format: {compression}"); + } + } + else + { + throw new TiledException($"XML encoding is not supported because it's deprecated"); } if(Infinite) @@ -528,7 +551,30 @@ private void ParseTileLayerDataAsBase64(string input, string compression, out in } else { - throw new TiledException("Zstandard compression is currently not supported"); + using var decompressionStream = new DecompressionStream(base64DataStream); + // Parse the raw decompressed bytes and update the inner data as well as the data rotation flags + var decompressedDataBuffer = new byte[4]; // size of each tile + var dataRotationFlagsList = new List(); + var layerDataList = new List(); + + while(decompressionStream.Read(decompressedDataBuffer, 0, decompressedDataBuffer.Length) == + decompressedDataBuffer.Length) + { + var rawID = BitConverter.ToUInt32(decompressedDataBuffer, 0); + var hor = ((rawID & FLIPPED_HORIZONTALLY_FLAG)); + var ver = ((rawID & FLIPPED_VERTICALLY_FLAG)); + var dia = ((rawID & FLIPPED_DIAGONALLY_FLAG)); + + dataRotationFlagsList.Add((byte)((hor | ver | dia) >> SHIFT_FLIP_FLAG_TO_BYTE)); + + // assign data to rawID with the rotation flags cleared + layerDataList.Add((int)(rawID & + ~(FLIPPED_HORIZONTALLY_FLAG | FLIPPED_VERTICALLY_FLAG | + FLIPPED_DIAGONALLY_FLAG))); + } + + data = layerDataList.ToArray(); + dataRotationFlags = dataRotationFlagsList.ToArray(); } } @@ -668,9 +714,8 @@ private Color ParseColor(string hexColor) } return color.Count == 3 - ? new Color(color[0], color[1], color[2]) - : new Color(color[1], color[2], color[3], color[0]); - ; + ? Color.FromArgb(color[0], color[1], color[2]) + : Color.FromArgb(color[0], color[1], color[2], color[3]); } /* HELPER METHODS */ diff --git a/TiledCSPlus/TiledModels.cs b/TiledCSPlus/TiledModels.cs index aeb2037..5779bc5 100644 --- a/TiledCSPlus/TiledModels.cs +++ b/TiledCSPlus/TiledModels.cs @@ -1,4 +1,6 @@ using System; +using System.Collections.Generic; +using System.Drawing; using System.Numerics; namespace TiledCSPlus @@ -8,8 +10,8 @@ namespace TiledCSPlus /// public class Size : IEquatable { - public float Width { get; set; } - public float Height { get; set; } + public float Width { get; internal set; } + public float Height { get; internal set; } public Size(float width = 0, float height = 0) { @@ -23,45 +25,6 @@ public bool Equals(Size other) } } - /// - /// Represents a color in RGBA format - /// - public class Color : IEquatable - { - /// - /// Red channel of the color - /// - public byte R { get; set; } - - /// - /// Green channel of the color - /// - public byte G { get; set; } - - /// - /// Blue channel of the color - /// - public byte B { get; set; } - - /// - /// Alpha channel of the color - /// - public byte A { get; set; } - - public Color(byte r, byte g, byte b, byte a = 255) - { - this.R = r; - this.G = g; - this.B = b; - this.A = a; - } - - public bool Equals(Color other) - { - return R.Equals(other.R) && G.Equals(other.G) && B.Equals(other.B) && A.Equals(other.A); - } - } - /// /// Represents an element within the Tilesets array of a TiledMap object /// @@ -486,4 +449,127 @@ public class TiledChunk /// public byte[] DataRotationFlags { get; internal set; } } + + /// + /// Represents terrain set + /// + public class TiledTerrainSet + { + /// + /// The name of terrain set + /// + public string Name { get; internal set; } + + /// + /// The class of terrain set + /// + public string Class { get; internal set; } + + /// + /// The tile ID of the tile representing this terrain set + /// + public int Tile { get; internal set; } + + /// + /// The terrain set's colors + /// + public TiledTerrainSetColor[] TerrainSetColors { get; internal set; } + + /// + /// The terrain set's tiles + /// + public Dictionary TerrainSetTiles { get; internal set; } + + /// + /// The terrain set's properties + /// + public TiledProperty[] Properties { get; internal set; } + + /// + /// The type of terrain set + /// + public TiledTerrainSetType Type { get; internal set; } + } + + /// + /// Represents terrain set color + /// + public class TiledTerrainSetColor + { + /// + /// The terrain set color's color + /// + public Color Color { get; internal set; } + + /// + /// The terrain set's color name + /// + public string Name { get; internal set; } + + /// + /// The terrain set's color class + /// + public string Class { get; internal set; } + + /// + /// The tile ID chosen as color icon + /// + public int Tile { get; internal set; } + + /// + /// The terrain set's color probability + /// + public float Probability { get; internal set; } + + /// + /// The terrain set's color properties + /// + public TiledProperty[] Properties { get; internal set; } + } + + /// + /// Represents terrain set's single tile + /// + public class TiledTerrainSetTile + { + /// + /// Top color of terrain set tile + /// + public int Top { get; internal set; } + + /// + /// Top right color of terrain set tile + /// + public int TopRight { get; internal set; } + + /// + /// Right color of terrain set tile + /// + public int Right { get; internal set; } + + /// + /// Bottom right color of terrain set tile + /// + public int BottomRight { get; internal set; } + + /// + /// Bottom color of terrain set tile + /// + public int Bottom { get; internal set; } + + /// + /// Bottom left color of terrain set tile + /// + public int BottomLeft { get; internal set; } + + /// + /// Left color of terrain set tile + /// + public int Left { get; internal set; } + + /// + /// Top left color of terrain set tile + /// + public int TopLeft { get; internal set; } + } } \ No newline at end of file diff --git a/TiledCSPlus/TiledTileset.cs b/TiledCSPlus/TiledTileset.cs index c04fb41..0c81032 100644 --- a/TiledCSPlus/TiledTileset.cs +++ b/TiledCSPlus/TiledTileset.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Drawing; using System.Globalization; using System.IO; using System.Numerics; @@ -15,78 +16,83 @@ public class TiledTileset /// /// The Tiled version used to create this tileset /// - public string TiledVersion { get; set; } + public string TiledVersion { get; internal set; } /// /// The Tiled version this tileset is compatible with /// - public string TilesetVersion { get; set; } + public string TilesetVersion { get; internal set; } /// /// The tileset name /// - public string Name { get; set; } + public string Name { get; internal set; } /// /// The tileset class /// - public string Class { get; set; } + public string Class { get; internal set; } /// /// The tile width in pixels /// - public int TileWidth { get; set; } + public int TileWidth { get; internal set; } /// /// The tile height in pixels /// - public int TileHeight { get; set; } + public int TileHeight { get; internal set; } /// /// The total amount of tiles /// - public int TileCount { get; set; } + public int TileCount { get; internal set; } /// /// The amount of horizontal tiles /// - public int Columns { get; set; } + public int Columns { get; internal set; } /// /// The image definition used by the tileset /// - public TiledImage Image { get; set; } + public TiledImage Image { get; internal set; } /// /// The amount of spacing between the tiles in pixels /// - public int Spacing { get; set; } + public int Spacing { get; internal set; } /// /// The amount of margin between the tiles in pixels /// - public int Margin { get; set; } + public int Margin { get; internal set; } /// /// An array of tile definitions /// /// Not all tiles within a tileset have definitions. Only those with properties, animations, terrains, ... - public TiledTile[] Tiles { get; set; } + public TiledTile[] Tiles { get; internal set; } /// /// An array of tileset properties /// - public TiledProperty[] Properties { get; set; } + public TiledProperty[] Properties { get; internal set; } /// /// The tile offset in pixels /// - public Vector2 Offset { get; set; } + public Vector2 Offset { get; internal set; } + + /// + /// An array of terrain sets + /// + public TiledTerrainSet[] TerrainSets { get; internal set; } /// /// Returns an empty instance of TiledTileset /// - public TiledTileset() + internal TiledTileset() { } @@ -144,6 +150,7 @@ public void ParseXml(string xml) var nodeOffset = nodeTileset.SelectSingleNode("tileoffset"); var nodesTile = nodeTileset.SelectNodes("tile"); var nodesProperty = nodeTileset.SelectNodes("properties/property"); + var nodesWangsets = nodeTileset.SelectNodes("wangsets/wangset"); var attrMargin = nodeTileset.Attributes["margin"]; var attrSpacing = nodeTileset.Attributes["spacing"]; @@ -165,6 +172,7 @@ public void ParseXml(string xml) Tiles = ParseTiles(nodesTile); Properties = ParseProperties(nodesProperty); + TerrainSets = ParseTerrainSets(nodesWangsets); } catch(Exception ex) { @@ -358,5 +366,117 @@ private TiledObject[] ParseObjects(XmlNodeList nodeList) return result.ToArray(); } + + private TiledTerrainSet[] ParseTerrainSets(XmlNodeList nodeList) + { + var result = new List(); + foreach (XmlNode node in nodeList) + { + var nodesProperty = node.SelectNodes("properties/property"); + var nodesColor = node.SelectNodes("wangcolor"); + var nodesTile = node.SelectNodes("wangtile"); + + var obj = new TiledTerrainSet() + { + Name = node.Attributes["name"].Value, + Tile = Int32.Parse(node.Attributes["tile"].Value), + Class = node.Attributes["class"]?.Value + }; + + if (nodesProperty != null) + { + obj.Properties = ParseProperties(nodesProperty); + } + + switch (node.Attributes["type"].Value) + { + case "corner": + obj.Type = TiledTerrainSetType.Corner; + break; + case "mixed": + obj.Type = TiledTerrainSetType.Mixed; + break; + case "edge": + obj.Type = TiledTerrainSetType.Edge; + break; + default: + throw new TiledException($"Unknown terrain set type: {node.Attributes["type"].Value}"); + } + + obj.TerrainSetColors = ParseTerrainSetColors(nodesColor); + obj.TerrainSetTiles = ParseTerrainSetTiles(nodesTile); + + result.Add(obj); + } + + return result.ToArray(); + } + + private TiledTerrainSetColor[] ParseTerrainSetColors(XmlNodeList nodeList) + { + var result = new List(); + foreach (XmlNode node in nodeList) + { + var nodesProperty = node.SelectNodes("properties/property"); + + var obj = new TiledTerrainSetColor() + { + Name = node.Attributes["name"].Value, + Class = node.Attributes["class"]?.Value, + Tile = Int32.Parse(node.Attributes["tile"].Value), + Color = ParseColor(node.Attributes["color"].Value), + Probability = float.Parse(node.Attributes["probability"].Value, CultureInfo.InvariantCulture) + }; + + if (nodesProperty != null) + { + obj.Properties = ParseProperties(nodesProperty); + } + + result.Add(obj); + } + + return result.ToArray(); + } + + private Dictionary ParseTerrainSetTiles(XmlNodeList nodeList) + { + var result = new Dictionary(); + foreach (XmlNode node in nodeList) + { + var attrTileid = node.Attributes["tileid"].Value; + var attrWangid = node.Attributes["wangid"].Value.Split(","); + + var obj = new TiledTerrainSetTile() + { + Top = Int32.Parse(attrWangid[0]), + TopRight = Int32.Parse(attrWangid[1]), + Right = Int32.Parse(attrWangid[2]), + BottomRight = Int32.Parse(attrWangid[3]), + Bottom = Int32.Parse(attrWangid[4]), + BottomLeft = Int32.Parse(attrWangid[5]), + Left = Int32.Parse(attrWangid[6]), + TopLeft = Int32.Parse(attrWangid[7]) + }; + + result.Add(Int32.Parse(attrTileid), obj); + } + + return result; + } + + private Color ParseColor(string hexColor) + { + hexColor = hexColor[1..]; + List color = new(); + for(int i = 0; i < hexColor.Length - 1; i += 2) + { + color.Add(Convert.ToByte(hexColor.Substring(i, 2), 16)); + } + + return color.Count == 3 + ? Color.FromArgb(color[0], color[1], color[2]) + : Color.FromArgb(color[0], color[1], color[2], color[3]); + } } } \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/Color-Summary.js b/docs/classes/CSharp/TiledCSPlus/Color-Summary.js deleted file mode 100644 index a6fb471..0000000 --- a/docs/classes/CSharp/TiledCSPlus/Color-Summary.js +++ /dev/null @@ -1 +0,0 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.Color","Color");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.Color",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"],["Properties","Property"]],[[70,0,0,"TiledCSPlus.​Color"],[71,0,2,"Properties","Properties"],[72,0,3,"R","R"],[73,0,3,"G","G"],[74,0,3,"B","B"],[75,0,3,"A","A"],[76,0,2,"Functions","Functions"],[77,0,1,"Color","Color"],[78,0,1,"Equals","Equals"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/Color-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/Color-SummaryToolTips.js deleted file mode 100644 index 4c3f7bc..0000000 --- a/docs/classes/CSharp/TiledCSPlus/Color-SummaryToolTips.js +++ /dev/null @@ -1 +0,0 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.Color",{70:"
public
TiledCSPlus.​Color
Represents a color in RGBA format
",72:"
public byte R {
get;
set
}
Red channel of the color
",73:"
public byte G {
get;
set
}
Green channel of the color
",74:"
public byte B {
get;
set
}
Blue channel of the color
",75:"
public byte A {
get;
set
}
Alpha channel of the color
",77:"
public Color(
byte 
r,
byte 
g,
byte 
b,
byte 
a
255
)
",78:"
public bool Equals(
Color 
other
)
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/Color-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/Color-ToolTips.js deleted file mode 100644 index ff62d78..0000000 --- a/docs/classes/CSharp/TiledCSPlus/Color-ToolTips.js +++ /dev/null @@ -1 +0,0 @@ -NDContentPage.OnToolTipsLoaded({70:"
public
TiledCSPlus.​Color
Represents a color in RGBA format
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/Color.html b/docs/classes/CSharp/TiledCSPlus/Color.html deleted file mode 100644 index 22f48c5..0000000 --- a/docs/classes/CSharp/TiledCSPlus/Color.html +++ /dev/null @@ -1,61 +0,0 @@ - - -Color - - - - - - - - - -
-
TiledCSPlus.​Color
-
IEquatable​<Color>
public
TiledCSPlus.​Color
-

Represents a color in RGBA format

-
- -
-
Properties
-
- -
-
R
-
public byte R {
get;
set
}
-

Red channel of the color

-
- -
-
G
-
public byte G {
get;
set
}
-

Green channel of the color

-
- -
-
B
-
public byte B {
get;
set
}
-

Blue channel of the color

-
- -
-
A
-
public byte A {
get;
set
}
-

Alpha channel of the color

-
- -
-
Functions
-
- -
-
Color
-
public Color(
byte 
r,
byte 
g,
byte 
b,
byte 
a
255
)
-
- -
-
Equals
-
public bool Equals(
other
)
-
- - \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/Extensions-Summary.js b/docs/classes/CSharp/TiledCSPlus/Extensions-Summary.js index feb29e6..46444b0 100644 --- a/docs/classes/CSharp/TiledCSPlus/Extensions-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/Extensions-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.Extensions","Extensions");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.Extensions",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"]],[[59,0,0,"TiledCSPlus.​Extensions"],[60,0,2,"Functions","Functions"],[61,0,1,"AsIntArray","AsIntArray"],[62,0,1,"AsIntArray","AsIntArray(2)"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.Extensions","Extensions");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.Extensions",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"]],[[165,0,0,"TiledCSPlus.​Extensions"],[166,0,2,"Functions","Functions"],[167,0,1,"AsIntArray","AsIntArray"],[168,0,1,"AsIntArray","AsIntArray(2)"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/Extensions-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/Extensions-SummaryToolTips.js index 4aabe96..0dad4ca 100644 --- a/docs/classes/CSharp/TiledCSPlus/Extensions-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/Extensions-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.Extensions",{59:"
public static
TiledCSPlus.​Extensions
Defines all extension methods used within TiledCS
",61:"
public static int[] AsIntArray(
this 
string 
src
)
Converts a comma separated string to an int array
",62:"
public static int[] AsIntArray(
this 
string[] 
src
)
Converts a string array whose values are actually all numbers to an int array
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.Extensions",{165:"
public static
TiledCSPlus.​Extensions
Defines all extension methods used within TiledCS
",167:"
public static int[] AsIntArray(
this 
string 
src
)
Converts a comma separated string to an int array
",168:"
public static int[] AsIntArray(
this 
string[] 
src
)
Converts a string array whose values are actually all numbers to an int array
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/Extensions.html b/docs/classes/CSharp/TiledCSPlus/Extensions.html index ae8d649..d0d1324 100644 --- a/docs/classes/CSharp/TiledCSPlus/Extensions.html +++ b/docs/classes/CSharp/TiledCSPlus/Extensions.html @@ -10,25 +10,25 @@ -
+
TiledCSPlus.​Extensions
-
public static
TiledCSPlus.​Extensions
+
public static
TiledCSPlus.​Extensions

Defines all extension methods used within TiledCS

-
+
Functions
-
+
AsIntArray
-
public static int[] AsIntArray(
this 
string 
src
)
+
public static int[] AsIntArray(
this 
string 
src
)

Converts a comma separated string to an int array

Parameter
src
this string

The comma separated string source

Returns

The parsed int array

-
+
AsIntArray
-
public static int[] AsIntArray(
this 
string[] 
src
)
+
public static int[] AsIntArray(
this 
string[] 
src
)

Converts a string array whose values are actually all numbers to an int array

Parameter
src
this string[]

The string array

Returns

The parsed int array

diff --git a/docs/classes/CSharp/TiledCSPlus/Size-Summary.js b/docs/classes/CSharp/TiledCSPlus/Size-Summary.js index 4cad32f..6a5ddcf 100644 --- a/docs/classes/CSharp/TiledCSPlus/Size-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/Size-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.Size","Size");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.Size",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"],["Properties","Property"]],[[63,0,0,"TiledCSPlus.​Size"],[64,0,2,"Properties","Properties"],[65,0,3,"Width","Width"],[66,0,3,"Height","Height"],[67,0,2,"Functions","Functions"],[68,0,1,"Size","Size"],[69,0,1,"Equals","Equals"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.Size","Size");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.Size",[["C#","CSharp"]],[["Classes","Class"]],[[37,0,0,"TiledCSPlus.​Size"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/Size-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/Size-SummaryToolTips.js index 6e9c4b1..80c87b4 100644 --- a/docs/classes/CSharp/TiledCSPlus/Size-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/Size-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.Size",{63:"
public
TiledCSPlus.​Size
Represents a size
",65:"
public float Width {
get;
set
}
",66:"
public float Height {
get;
set
}
",68:"
public Size(
float 
width
 = 
0,
float 
height
 = 
0
)
",69:"
public bool Equals(
Size 
other
)
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.Size",{37:"
public
TiledCSPlus.​Size
Represents a size
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/Size-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/Size-ToolTips.js index 1b96eb2..ff6eba8 100644 --- a/docs/classes/CSharp/TiledCSPlus/Size-ToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/Size-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({63:"
public
TiledCSPlus.​Size
Represents a size
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({37:"
public
TiledCSPlus.​Size
Represents a size
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/Size.html b/docs/classes/CSharp/TiledCSPlus/Size.html index bdef208..cc85bc6 100644 --- a/docs/classes/CSharp/TiledCSPlus/Size.html +++ b/docs/classes/CSharp/TiledCSPlus/Size.html @@ -10,38 +10,10 @@ -
+
TiledCSPlus.​Size
-
IEquatable​<Size>
public
TiledCSPlus.​Size
+
IEquatable​<Size>
public
TiledCSPlus.​Size

Represents a size

-
-
Properties
-
- -
-
Width
-
public float Width {
get;
set
}
-
- -
-
Height
-
public float Height {
get;
set
}
-
- -
-
Functions
-
- -
-
Size
-
public Size(
float 
width
 = 
0,
float 
height
 = 
0
)
-
- -
-
Equals
-
public bool Equals(
other
)
-
- \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledChunk-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledChunk-Summary.js index 469e56c..64268e6 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledChunk-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledChunk-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledChunk","TiledChunk");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledChunk",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[165,0,0,"TiledCSPlus.​TiledChunk"],[166,0,1,"Properties","Properties"],[167,0,2,"X","X"],[168,0,2,"Y","Y"],[169,0,2,"Width","Width"],[170,0,2,"Height","Height"],[171,0,2,"Data","Data"],[172,0,2,"DataRotationFlags","DataRotationFlags"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledChunk","TiledChunk");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledChunk",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[130,0,0,"TiledCSPlus.​TiledChunk"],[131,0,1,"Properties","Properties"],[132,0,2,"X","X"],[133,0,2,"Y","Y"],[134,0,2,"Width","Width"],[135,0,2,"Height","Height"],[136,0,2,"Data","Data"],[137,0,2,"DataRotationFlags","DataRotationFlags"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledChunk-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledChunk-SummaryToolTips.js index e3b0735..78fd20e 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledChunk-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledChunk-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledChunk",{165:"
public
TiledCSPlus.​TiledChunk
Represents a tile layer chunk when the map is infinite
",167:"
public int X {
get;
internal 
set
}
The chunk\'s x position
",168:"
public int Y {
get;
internal 
set
}
The chunk\'s y position
",169:"
public int Width {
get;
internal 
set
}
The chunk\'s width
",170:"
public int Height {
get;
internal 
set
}
The chunk\'s height
",171:"
public int[] Data {
get;
internal 
set
}
The chunk\'s data is similar to the data array in the TiledLayer class
",172:"
public byte[] DataRotationFlags {
get;
internal 
set
}
The chunk\'s data rotation flags are similar to the data rotation flags array in the TiledLayer class
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledChunk",{130:"
public
TiledCSPlus.​TiledChunk
Represents a tile layer chunk when the map is infinite
",132:"
public int X {
get;
internal 
set
}
The chunk\'s x position
",133:"
public int Y {
get;
internal 
set
}
The chunk\'s y position
",134:"
public int Width {
get;
internal 
set
}
The chunk\'s width
",135:"
public int Height {
get;
internal 
set
}
The chunk\'s height
",136:"
public int[] Data {
get;
internal 
set
}
The chunk\'s data is similar to the data array in the TiledLayer class
",137:"
public byte[] DataRotationFlags {
get;
internal 
set
}
The chunk\'s data rotation flags are similar to the data rotation flags array in the TiledLayer class
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledChunk.html b/docs/classes/CSharp/TiledCSPlus/TiledChunk.html index e5ee743..279ecba 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledChunk.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledChunk.html @@ -10,49 +10,49 @@ -
+
TiledCSPlus.​TiledChunk
-
public
TiledCSPlus.​TiledChunk
+
public
TiledCSPlus.​TiledChunk

Represents a tile layer chunk when the map is infinite

-
+
Properties
-
+
X
-
public int X {
get;
internal 
set
}
+
public int X {
get;
internal 
set
}

The chunk's x position

-
+
Y
-
public int Y {
get;
internal 
set
}
+
public int Y {
get;
internal 
set
}

The chunk's y position

-
+
Width
-
public int Width {
get;
internal 
set
}
+
public int Width {
get;
internal 
set
}

The chunk's width

-
+
Height
-
public int Height {
get;
internal 
set
}
+
public int Height {
get;
internal 
set
}

The chunk's height

-
+
Data
-
public int[] Data {
get;
internal 
set
}
+
public int[] Data {
get;
internal 
set
}

The chunk's data is similar to the data array in the TiledLayer class

-
+
DataRotationFlags
-
public byte[] DataRotationFlags {
get;
internal 
set
}
+
public byte[] DataRotationFlags {
get;
internal 
set
}

The chunk's data rotation flags are similar to the data rotation flags array in the TiledLayer class

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledEllipse-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledEllipse-Summary.js index a8f9f82..5df3667 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledEllipse-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledEllipse-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledEllipse","TiledEllipse");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledEllipse",[["C#","CSharp"]],[["Classes","Class"]],[[129,0,0,"TiledCSPlus.​TiledEllipse"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledEllipse","TiledEllipse");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledEllipse",[["C#","CSharp"]],[["Classes","Class"]],[[94,0,0,"TiledCSPlus.​TiledEllipse"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledEllipse-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledEllipse-SummaryToolTips.js index 0741960..e14ac57 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledEllipse-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledEllipse-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledEllipse",{129:"
public
TiledCSPlus.​TiledEllipse
Represents an ellipse shape
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledEllipse",{94:"
public
TiledCSPlus.​TiledEllipse
Represents an ellipse shape
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledEllipse.html b/docs/classes/CSharp/TiledCSPlus/TiledEllipse.html index ac9a911..14fb834 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledEllipse.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledEllipse.html @@ -10,9 +10,9 @@ -
+
TiledCSPlus.​TiledEllipse
-
public
TiledCSPlus.​TiledEllipse
+
public
TiledCSPlus.​TiledEllipse

Represents an ellipse shape

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledGroup-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledGroup-Summary.js index 2f8c9c4..1475af9 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledGroup-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledGroup-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledGroup","TiledGroup");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledGroup",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[155,0,0,"TiledCSPlus.​TiledGroup"],[156,0,1,"Properties","Properties"],[157,0,2,"Id","Id"],[158,0,2,"Name","Name"],[159,0,2,"Visible","Visible"],[160,0,2,"Locked","Locked"],[161,0,2,"Properties","Properties(2)"],[162,0,2,"Layers","Layers"],[163,0,2,"Objects","Objects"],[164,0,2,"Groups","Groups"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledGroup","TiledGroup");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledGroup",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[120,0,0,"TiledCSPlus.​TiledGroup"],[121,0,1,"Properties","Properties"],[122,0,2,"Id","Id"],[123,0,2,"Name","Name"],[124,0,2,"Visible","Visible"],[125,0,2,"Locked","Locked"],[126,0,2,"Properties","Properties(2)"],[127,0,2,"Layers","Layers"],[128,0,2,"Objects","Objects"],[129,0,2,"Groups","Groups"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledGroup-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledGroup-SummaryToolTips.js index de6fa91..9484058 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledGroup-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledGroup-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledGroup",{155:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
",157:"
public int Id {
get;
internal 
set
}
The group\'s id
",158:"
public string Name {
get;
internal 
set
}
The group\'s name
",159:"
public bool Visible {
get;
internal 
set
}
The group\'s visibility
",160:"
public bool Locked {
get;
internal 
set
}
The group\'s locked state
",161:"
public TiledProperty[] Properties {
get;
internal 
set
}
The group\'s user properties
",162:"
public TiledLayer[] Layers {
get;
internal 
set
}
The group\'s layers
",163:"
public TiledObject[] Objects {
get;
internal 
set
}
The group\'s objects
",164:"
public TiledGroup[] Groups {
get;
internal 
set
}
The group\'s subgroups
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledGroup",{120:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
",122:"
public int Id {
get;
internal 
set
}
The group\'s id
",123:"
public string Name {
get;
internal 
set
}
The group\'s name
",124:"
public bool Visible {
get;
internal 
set
}
The group\'s visibility
",125:"
public bool Locked {
get;
internal 
set
}
The group\'s locked state
",126:"
public TiledProperty[] Properties {
get;
internal 
set
}
The group\'s user properties
",127:"
public TiledLayer[] Layers {
get;
internal 
set
}
The group\'s layers
",128:"
public TiledObject[] Objects {
get;
internal 
set
}
The group\'s objects
",129:"
public TiledGroup[] Groups {
get;
internal 
set
}
The group\'s subgroups
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledGroup-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledGroup-ToolTips.js index b9293d7..fbce05a 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledGroup-ToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledGroup-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",89:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",111:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",155:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",54:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",76:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",120:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledGroup.html b/docs/classes/CSharp/TiledCSPlus/TiledGroup.html index 8f96978..da2e813 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledGroup.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledGroup.html @@ -10,61 +10,61 @@ -
+
TiledCSPlus.​TiledGroup
-
public
TiledCSPlus.​TiledGroup
+
public
TiledCSPlus.​TiledGroup

Represents a layer or object group

-
+
Properties
-
+
Id
-
public int Id {
get;
internal 
set
}
+
public int Id {
get;
internal 
set
}

The group's id

-
+
Name
-
public string Name {
get;
internal 
set
}
+
public string Name {
get;
internal 
set
}

The group's name

-
+
Visible
-
public bool Visible {
get;
internal 
set
}
+
public bool Visible {
get;
internal 
set
}

The group's visibility

-
+
Locked
-
public bool Locked {
get;
internal 
set
}
+
public bool Locked {
get;
internal 
set
}

The group's locked state

-
+
Properties
-
public TiledProperty[] Properties {
get;
internal 
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

The group's user properties

-
+
Layers
-
public TiledLayer[] Layers {
get;
internal 
set
}
+
public TiledLayer[] Layers {
get;
internal 
set
}

The group's layers

-
+
Objects
-
public TiledObject[] Objects {
get;
internal 
set
}
+
public TiledObject[] Objects {
get;
internal 
set
}

The group's objects

-
+
Groups
-
public TiledGroup[] Groups {
get;
internal 
set
}
+
public TiledGroup[] Groups {
get;
internal 
set
}

The group's subgroups

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledImage-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledImage-Summary.js index d3c5da9..664c40e 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledImage-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledImage-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledImage","TiledImage");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledImage",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"],["Variables","Variable"]],[[139,0,0,"TiledCSPlus.​TiledImage"],[140,0,1,"Properties","Properties"],[141,0,2,"Width","Width"],[142,0,2,"Height","Height"],[143,0,1,"Variables","Variables"],[144,0,3,"Source","Source"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledImage","TiledImage");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledImage",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"],["Variables","Variable"]],[[104,0,0,"TiledCSPlus.​TiledImage"],[105,0,1,"Properties","Properties"],[106,0,2,"Width","Width"],[107,0,2,"Height","Height"],[108,0,1,"Variables","Variables"],[109,0,3,"Source","Source"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledImage-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledImage-SummaryToolTips.js index d4c900c..bef8e95 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledImage-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledImage-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledImage",{139:"
public
TiledCSPlus.​TiledImage
Represents an image
",141:"
public int Width {
get;
internal 
set
}
The image width
",142:"
public int Height {
get;
internal 
set
}
The image height
",144:"
public string Source
The image source path
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledImage",{104:"
public
TiledCSPlus.​TiledImage
Represents an image
",106:"
public int Width {
get;
internal 
set
}
The image width
",107:"
public int Height {
get;
internal 
set
}
The image height
",109:"
public string Source
The image source path
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledImage.html b/docs/classes/CSharp/TiledCSPlus/TiledImage.html index 8df50d6..39da63c 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledImage.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledImage.html @@ -10,35 +10,35 @@ -
+
TiledCSPlus.​TiledImage
-
public
TiledCSPlus.​TiledImage
+
public
TiledCSPlus.​TiledImage

Represents an image

-
+
Properties
-
+
Width
-
public int Width {
get;
internal 
set
}
+
public int Width {
get;
internal 
set
}

The image width

-
+
Height
-
public int Height {
get;
internal 
set
}
+
public int Height {
get;
internal 
set
}

The image height

-
+
Variables
-
+
Source
-
public string Source
+
public string Source

The image source path

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledLayer-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledLayer-Summary.js index 3582f04..78b40c2 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledLayer-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledLayer-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledLayer","TiledLayer");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledLayer",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"],["Variables","Variable"]],[[89,0,0,"TiledCSPlus.​TiledLayer"],[90,0,1,"Properties","Properties"],[91,0,2,"Id","Id"],[92,0,2,"Name","Name"],[93,0,2,"Width","Width"],[94,0,2,"Height","Height"],[95,0,2,"Type","Type"],[96,0,2,"TintColor","TintColor"],[97,0,2,"Visible","Visible"],[98,0,2,"Locked","Locked"],[99,0,1,"Variables","Variables"],[100,0,3,"Offset","Offset"],[101,0,3,"Parrallax","Parrallax"],[102,0,1,"Properties","Properties(2)"],[103,0,2,"Opacity","Opacity"],[104,0,2,"Class","Class"],[105,0,2,"Data","Data"],[106,0,2,"DataRotationFlags","DataRotationFlags"],[107,0,2,"Objects","Objects"],[108,0,2,"Properties","Properties(3)"],[109,0,2,"Image","Image"],[110,0,2,"Chunks","Chunks"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledLayer","TiledLayer");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledLayer",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"],["Variables","Variable"]],[[54,0,0,"TiledCSPlus.​TiledLayer"],[55,0,1,"Properties","Properties"],[56,0,2,"Id","Id"],[57,0,2,"Name","Name"],[58,0,2,"Width","Width"],[59,0,2,"Height","Height"],[60,0,2,"Type","Type"],[61,0,2,"TintColor","TintColor"],[62,0,2,"Visible","Visible"],[63,0,2,"Locked","Locked"],[64,0,1,"Variables","Variables"],[65,0,3,"Offset","Offset"],[66,0,3,"Parrallax","Parrallax"],[67,0,1,"Properties","Properties(2)"],[68,0,2,"Opacity","Opacity"],[69,0,2,"Class","Class"],[70,0,2,"Data","Data"],[71,0,2,"DataRotationFlags","DataRotationFlags"],[72,0,2,"Objects","Objects"],[73,0,2,"Properties","Properties(3)"],[74,0,2,"Image","Image"],[75,0,2,"Chunks","Chunks"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledLayer-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledLayer-SummaryToolTips.js index 3aafcab..8c04f83 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledLayer-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledLayer-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledLayer",{89:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",91:"
public int Id {
get;
internal 
set
}
The layer id
",92:"
public string Name {
get;
internal 
set
}
The layer name
",93:"
public int Width {
get;
internal 
set
}
Total horizontal tiles
",94:"
public int Height {
get;
internal 
set
}
Total vertical tiles
",95:"
public TiledLayerType Type {
get;
internal 
set
}
The layer type.
",96:"
public Color TintColor {
get;
internal 
set
}
The tint color set by the user in Color class
",97:"
public bool Visible {
get;
internal 
set
}
Defines if the layer is visible in the editor
",98:"
public bool Locked {
get;
internal 
set
}
Is true when the layer is locked
",100:"
public Vector2 Offset
Layer offset
",101:"
public Vector2 Parrallax
Parallax position
",103:"
public float Opacity {
get;
internal 
set
}
The layer opacity
",104:"
public string Class {
get;
internal 
set
}
The layer class
",105:"
public int[] Data {
get;
internal 
set
}
An int array of gid numbers which define which tile is being used where. The length of the array equals the layer width * the layer height. Is null when the layer is not a tilelayer.
",106:"
public byte[] DataRotationFlags {
get;
internal 
set
}
A parallel array to data which stores the rotation flags of the tile.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.
",107:"
public TiledObject[] Objects {
get;
internal 
set
}
The list of objects in case of an objectgroup layer. Is null when the layer has no objects.
",108:"
public TiledProperty[] Properties {
get;
internal 
set
}
The layer properties if set
",109:"
public TiledImage Image {
get;
internal 
set
}
The image the layer represents when the layer is an image layer
",110:"
public TiledChunk[] Chunks {
get;
internal 
set
}
The chunks of data when the map is infinite
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledLayer",{54:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",56:"
public int Id {
get;
internal 
set
}
The layer id
",57:"
public string Name {
get;
internal 
set
}
The layer name
",58:"
public int Width {
get;
internal 
set
}
Total horizontal tiles
",59:"
public int Height {
get;
internal 
set
}
Total vertical tiles
",60:"
public TiledLayerType Type {
get;
internal 
set
}
The layer type.
",61:"
public Color TintColor {
get;
internal 
set
}
The tint color set by the user in Color class
",62:"
public bool Visible {
get;
internal 
set
}
Defines if the layer is visible in the editor
",63:"
public bool Locked {
get;
internal 
set
}
Is true when the layer is locked
",65:"
public Vector2 Offset
Layer offset
",66:"
public Vector2 Parrallax
Parallax position
",68:"
public float Opacity {
get;
internal 
set
}
The layer opacity
",69:"
public string Class {
get;
internal 
set
}
The layer class
",70:"
public int[] Data {
get;
internal 
set
}
An int array of gid numbers which define which tile is being used where. The length of the array equals the layer width * the layer height. Is null when the layer is not a tilelayer.
",71:"
public byte[] DataRotationFlags {
get;
internal 
set
}
A parallel array to data which stores the rotation flags of the tile.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.
",72:"
public TiledObject[] Objects {
get;
internal 
set
}
The list of objects in case of an objectgroup layer. Is null when the layer has no objects.
",73:"
public TiledProperty[] Properties {
get;
internal 
set
}
The layer properties if set
",74:"
public TiledImage Image {
get;
internal 
set
}
The image the layer represents when the layer is an image layer
",75:"
public TiledChunk[] Chunks {
get;
internal 
set
}
The chunks of data when the map is infinite
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledLayer-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledLayer-ToolTips.js index 4fcf9f7..592efdb 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledLayer-ToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledLayer-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({70:"
public
TiledCSPlus.​Color
Represents a color in RGBA format
",84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",111:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",139:"
public
TiledCSPlus.​TiledImage
Represents an image
",165:"
public
TiledCSPlus.​TiledChunk
Represents a tile layer chunk when the map is infinite
",201:"
public enum TiledLayerType
Represents the layer type
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",76:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",104:"
public
TiledCSPlus.​TiledImage
Represents an image
",130:"
public
TiledCSPlus.​TiledChunk
Represents a tile layer chunk when the map is infinite
",225:"
public enum TiledLayerType
Represents the layer type
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledLayer.html b/docs/classes/CSharp/TiledCSPlus/TiledLayer.html index e12aef4..dead201 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledLayer.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledLayer.html @@ -10,129 +10,129 @@ -
+
TiledCSPlus.​TiledLayer
-
public
TiledCSPlus.​TiledLayer
+
public
TiledCSPlus.​TiledLayer

Represents a tile layer as well as an object layer within a tile map

-
+
Properties
-
+
Id
-
public int Id {
get;
internal 
set
}
+
public int Id {
get;
internal 
set
}

The layer id

-
+
Name
-
public string Name {
get;
internal 
set
}
+
public string Name {
get;
internal 
set
}

The layer name

-
+
Width
-
public int Width {
get;
internal 
set
}
+
public int Width {
get;
internal 
set
}

Total horizontal tiles

-
+
Height
-
public int Height {
get;
internal 
set
}
+
public int Height {
get;
internal 
set
}

Total vertical tiles

-
+
Type
-
public TiledLayerType Type {
get;
internal 
set
}
+
public TiledLayerType Type {
get;
internal 
set
}

The layer type.

-
+
TintColor
-
public Color TintColor {
get;
internal 
set
}
+
public Color TintColor {
get;
internal 
set
}

The tint color set by the user in Color class

-
+
Visible
-
public bool Visible {
get;
internal 
set
}
+
public bool Visible {
get;
internal 
set
}

Defines if the layer is visible in the editor

-
+
Locked
-
public bool Locked {
get;
internal 
set
}
+
public bool Locked {
get;
internal 
set
}

Is true when the layer is locked

-
+
Variables
-
+
Offset
-
public Vector2 Offset
+
public Vector2 Offset

Layer offset

-
+
Parrallax
-
public Vector2 Parrallax
+
public Vector2 Parrallax

Parallax position

-
+
Properties
-
+
Opacity
-
public float Opacity {
get;
internal 
set
}
+
public float Opacity {
get;
internal 
set
}

The layer opacity

-
+
Class
-
public string Class {
get;
internal 
set
}
+
public string Class {
get;
internal 
set
}

The layer class

-
+
Data
-
public int[] Data {
get;
internal 
set
}
+
public int[] Data {
get;
internal 
set
}

An int array of gid numbers which define which tile is being used where. The length of the array equals the layer width * the layer height. Is null when the layer is not a tilelayer.

-
+
DataRotationFlags
-
public byte[] DataRotationFlags {
get;
internal 
set
}
+
public byte[] DataRotationFlags {
get;
internal 
set
}

A parallel array to data which stores the rotation flags of the tile.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.

-
+
Objects
-
public TiledObject[] Objects {
get;
internal 
set
}
+
public TiledObject[] Objects {
get;
internal 
set
}

The list of objects in case of an objectgroup layer. Is null when the layer has no objects.

-
+
Properties
-
public TiledProperty[] Properties {
get;
internal 
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

The layer properties if set

-
+
Image
-
public TiledImage Image {
get;
internal 
set
}
+
public TiledImage Image {
get;
internal 
set
}

The image the layer represents when the layer is an image layer

-
+
Chunks
-
public TiledChunk[] Chunks {
get;
internal 
set
}
+
public TiledChunk[] Chunks {
get;
internal 
set
}

The chunks of data when the map is infinite

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledMap-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledMap-Summary.js index 600fb08..935715e 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledMap-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledMap-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledMap","TiledMap");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledMap",[["C#","CSharp"]],[["Classes","Class"],["Constants","Constant"],["Functions","Function"],["Groups","Group"],["Properties","Property"]],[[5,0,0,"TiledCSPlus.​TiledMap"],[6,0,3,"Constants","Constants"],[7,0,1,"FLIPPED_HORIZONTALLY_FLAG","FLIPPED_HORIZONTALLY_FLAG"],[8,0,1,"FLIPPED_VERTICALLY_FLAG","FLIPPED_VERTICALLY_FLAG"],[9,0,1,"FLIPPED_DIAGONALLY_FLAG","FLIPPED_DIAGONALLY_FLAG"],[10,0,1,"SHIFT_FLIP_FLAG_TO_BYTE","SHIFT_FLIP_FLAG_TO_BYTE"],[11,0,3,"Properties","Properties"],[12,0,4,"TiledVersion","TiledVersion"],[13,0,4,"MapVersion","MapVersion"],[14,0,4,"Properties","Properties(2)"],[15,0,4,"Tilesets","Tilesets"],[16,0,4,"Layers","Layers"],[17,0,4,"Groups","Groups"],[18,0,4,"Orientation","Orientation"],[19,0,4,"RenderOrder","RenderOrder"],[20,0,4,"Width","Width"],[21,0,4,"Height","Height"],[22,0,4,"TileWidth","TileWidth"],[23,0,4,"TileHeight","TileHeight"],[24,0,4,"ParallaxOriginX","ParallaxOriginX"],[25,0,4,"ParallaxOriginY","ParallaxOriginY"],[26,0,4,"Infinite","Infinite"],[27,0,4,"BackgroundColor","BackgroundColor"],[28,0,4,"EmbeddedTilesets","EmbeddedTilesets"],[29,0,3,"Functions","Functions"],[30,0,2,"TiledMap","TiledMap"],[31,0,2,"TiledMap","TiledMap(2)"],[32,0,2,"TiledMap","TiledMap(3)"],[33,0,2,"ParseXml","ParseXml"],[34,0,2,"ParseProperties","ParseProperties"],[35,0,2,"ParseTilesets","ParseTilesets"],[36,0,2,"ParseGroups","ParseGroups"],[37,0,2,"ParseLayers","ParseLayers"],[38,0,2,"ParseLayer","ParseLayer"],[39,0,2,"ParseTileLayerData","ParseTileLayerData"],[40,0,2,"ParseTileLayerDataAsBase64","ParseTileLayerDataAsBase64"],[41,0,2,"ParseTileLayerDataAsCSV","ParseTileLayerDataAsCSV"],[42,0,2,"ParseImage","ParseImage"],[43,0,2,"ParseObjects","ParseObjects"],[44,0,2,"ParseObjectGid","ParseObjectGid"],[45,0,2,"ParseColor","ParseColor"],[46,0,2,"GetTiledMapTileset","GetTiledMapTileset"],[47,0,2,"GetTiledTilesets","GetTiledTilesets"],[48,0,2,"GetTiledTile","GetTiledTile"],[49,0,2,"GetSourceRect","GetSourceRect"],[50,0,2,"IsTileFlippedHorizontal","IsTileFlippedHorizontal"],[51,0,2,"IsTileFlippedHorizontal","IsTileFlippedHorizontal(2)"],[52,0,2,"IsTileFlippedHorizontal","IsTileFlippedHorizontal(3)"],[53,0,2,"IsTileFlippedVertical","IsTileFlippedVertical"],[54,0,2,"IsTileFlippedVertical","IsTileFlippedVertical(2)"],[55,0,2,"IsTileFlippedVertical","IsTileFlippedVertical(3)"],[56,0,2,"IsTileFlippedDiagonal","IsTileFlippedDiagonal"],[57,0,2,"IsTileFlippedDiagonal","IsTileFlippedDiagonal(2)"],[58,0,2,"IsTileFlippedDiagonal","IsTileFlippedDiagonal(3)"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledMap","TiledMap");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledMap",[["C#","CSharp"]],[["Classes","Class"],["Constants","Constant"],["Functions","Function"],["Groups","Group"],["Properties","Property"]],[[169,0,0,"TiledCSPlus.​TiledMap"],[170,0,3,"Constants","Constants"],[174,0,1,"SHIFT_FLIP_FLAG_TO_BYTE","SHIFT_FLIP_FLAG_TO_BYTE"],[175,0,3,"Properties","Properties"],[176,0,4,"TiledVersion","TiledVersion"],[177,0,4,"MapVersion","MapVersion"],[178,0,4,"Properties","Properties(2)"],[179,0,4,"Tilesets","Tilesets"],[180,0,4,"Layers","Layers"],[181,0,4,"Groups","Groups"],[182,0,4,"Orientation","Orientation"],[183,0,4,"RenderOrder","RenderOrder"],[184,0,4,"Width","Width"],[185,0,4,"Height","Height"],[186,0,4,"TileWidth","TileWidth"],[187,0,4,"TileHeight","TileHeight"],[188,0,4,"ParallaxOriginX","ParallaxOriginX"],[189,0,4,"ParallaxOriginY","ParallaxOriginY"],[190,0,4,"Infinite","Infinite"],[191,0,4,"BackgroundColor","BackgroundColor"],[192,0,4,"EmbeddedTilesets","EmbeddedTilesets"],[193,0,4,"TileLayerFormat","TileLayerFormat"],[194,0,3,"Functions","Functions"],[27,0,2,"TiledMap","TiledMap"],[196,0,2,"TiledMap","TiledMap(2)"],[197,0,2,"TiledMap","TiledMap(3)"],[198,0,2,"ParseXml","ParseXml"],[211,0,2,"GetTiledMapTileset","GetTiledMapTileset"],[212,0,2,"GetTiledTilesets","GetTiledTilesets"],[213,0,2,"GetTiledTile","GetTiledTile"],[214,0,2,"GetSourceRect","GetSourceRect"],[215,0,2,"IsTileFlippedHorizontal","IsTileFlippedHorizontal"],[216,0,2,"IsTileFlippedHorizontal","IsTileFlippedHorizontal(2)"],[217,0,2,"IsTileFlippedHorizontal","IsTileFlippedHorizontal(3)"],[218,0,2,"IsTileFlippedVertical","IsTileFlippedVertical"],[219,0,2,"IsTileFlippedVertical","IsTileFlippedVertical(2)"],[220,0,2,"IsTileFlippedVertical","IsTileFlippedVertical(3)"],[221,0,2,"IsTileFlippedDiagonal","IsTileFlippedDiagonal"],[222,0,2,"IsTileFlippedDiagonal","IsTileFlippedDiagonal(2)"],[223,0,2,"IsTileFlippedDiagonal","IsTileFlippedDiagonal(3)"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledMap-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledMap-SummaryToolTips.js index bfdb684..5ba8c24 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledMap-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledMap-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledMap",{5:"
public
TiledCSPlus.​TiledMap
Represents a Tiled map
",7:"
const uint FLIPPED_HORIZONTALLY_FLAG
",8:"
const uint FLIPPED_VERTICALLY_FLAG
",9:"
const uint FLIPPED_DIAGONALLY_FLAG
",10:"
const int SHIFT_FLIP_FLAG_TO_BYTE
How many times we shift the FLIPPED flags to the right in order to store it in a byte.  For example: 0b10100000000000000000000000000000 >> SHIFT_FLIP_FLAG_TO_BYTE = 0b00000101
",12:"
public string TiledVersion {
get;
internal 
set
}
Returns the Tiled version used to create this map
",13:"
public string MapVersion {
get;
internal 
set
}
Returns map compability mode this map is saved in
",14:"
public TiledProperty[] Properties {
get;
internal 
set
}
Returns an array of properties defined in the map
",15:"
public TiledMapTileset[] Tilesets {
get;
internal 
set
}
Returns an array of tileset definitions in the map
",16:"
public TiledLayer[] Layers {
get;
internal 
set
}
Returns an array of layers or null if none were defined
",17:"
public TiledGroup[] Groups {
get;
internal 
set
}
Returns an array of groups or null if none were defined
",18:"
public string Orientation {
get;
internal 
set
}
Returns the defined map orientation as a string
",19:"
public string RenderOrder {
get;
internal 
set
}
Returns the render order as a string
",20:"
public int Width {
get;
internal 
set
}
The amount of horizontal tiles
",21:"
public int Height {
get;
internal 
set
}
The amount of vertical tiles
",22:"
public int TileWidth {
get;
internal 
set
}
The tile width in pixels
",23:"
public int TileHeight {
get;
internal 
set
}
The tile height in pixels
",24:"
public float ParallaxOriginX {
get;
internal 
set
}
The parallax origin x
",25:"
public float ParallaxOriginY {
get;
internal 
set
}
The parallax origin y
",26:"
public bool Infinite {
get;
internal 
set
}
Returns true if the map is configured as infinite
",27:"
public Color BackgroundColor {
get;
internal 
set
}
Returns the defined map background color as a TiledColor
",28:"
public Dictionary<int, TiledTileset> EmbeddedTilesets {
get;
internal 
set
}
Returns tilesets embedded in the map
",30:"
public TiledMap()
Returns an empty instance of TiledMap
",31:"
public TiledMap(
string 
path
)
Loads a Tiled map in TMX format and parses it
",32:"
public TiledMap(
Stream 
stream
)
Loads a Tiled map in TMX format and parses it
",33:"
public void ParseXml(
string 
xml
)
Can be used to parse the content of a TMX map manually instead of loading it using the constructor
",34:"
private TiledProperty[] ParseProperties(
XmlNodeList 
nodeList
)
",35:"
private TiledMapTileset[] ParseTilesets(
XmlNodeList 
nodeList
)
",36:"
private TiledGroup[] ParseGroups(
XmlNodeList 
nodeListGroups
)
",37:"
private TiledLayer[] ParseLayers(
XmlNodeList 
nodesLayer
)
",38:"
private TiledLayer ParseLayer(
XmlNode 
node,
TiledLayerType 
type
)
",39:"
private void ParseTileLayerData(
XmlNode 
nodeData,
ref 
TiledLayer 
tiledLayer
)
",40:"
private void ParseTileLayerDataAsBase64(
string 
input,
string 
compression,
out 
int[] 
data,
out 
byte[] 
dataRotationFlags
)
",41:"
private void ParseTileLayerDataAsCSV(
string 
input,
out 
int[] 
data,
out 
byte[] 
dataRotationFlags
)
",42:"
private TiledImage ParseImage(
XmlNode 
node
)
",43:"
private TiledObject[] ParseObjects(
XmlNodeList 
nodeList
)
",44:"
private void ParseObjectGid(
ref 
TiledObject 
tiledObject,
String 
gid
)
",45:"
private Color ParseColor(
string 
hexColor
)
",46:"
public TiledMapTileset GetTiledMapTileset(
int 
gid
)
Locates the right TiledMapTileset object for you within the Tilesets array
",47:"
public Dictionary<int, TiledTileset> GetTiledTilesets(
string 
src
)
Loads external tilesets and matches them to firstGids from elements within the Tilesets array
",48:"
public TiledTile GetTiledTile(
TiledMapTileset 
mapTileset,
TiledTileset 
tileset,
int 
gid
)
Locates a specific TiledTile object
",49:"
public TiledSourceRect GetSourceRect(
TiledMapTileset 
mapTileset,
TiledTileset 
tileset,
int 
gid
)
This method can be used to figure out the source rect on a Tileset image for rendering tiles.
",50:"
public bool IsTileFlippedHorizontal(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped horizontally
",51:"
public bool IsTileFlippedHorizontal(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped horizontally
",52:"
public bool IsTileFlippedHorizontal(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped horizontally
",53:"
public bool IsTileFlippedVertical(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped vertically
",54:"
public bool IsTileFlippedVertical(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped vertically
",55:"
public bool IsTileFlippedVertical(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped vertically
",56:"
public bool IsTileFlippedDiagonal(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped diagonally
",57:"
public bool IsTileFlippedDiagonal(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped diagonally
",58:"
public bool IsTileFlippedDiagonal(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped diagonally
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledMap",{169:"
public
TiledCSPlus.​TiledMap
Represents a Tiled map
",174:"
const int SHIFT_FLIP_FLAG_TO_BYTE
How many times we shift the FLIPPED flags to the right in order to store it in a byte.  For example: 0b10100000000000000000000000000000 >> SHIFT_FLIP_FLAG_TO_BYTE = 0b00000101
",176:"
public string TiledVersion {
get;
internal 
set
}
Returns the Tiled version used to create this map
",177:"
public string MapVersion {
get;
internal 
set
}
Returns map compability mode this map is saved in
",178:"
public TiledProperty[] Properties {
get;
internal 
set
}
Returns an array of properties defined in the map
",179:"
public TiledMapTileset[] Tilesets {
get;
internal 
set
}
Returns an array of tileset definitions in the map
",180:"
public TiledLayer[] Layers {
get;
internal 
set
}
Returns an array of layers or null if none were defined
",181:"
public TiledGroup[] Groups {
get;
internal 
set
}
Returns an array of groups or null if none were defined
",182:"
public string Orientation {
get;
internal 
set
}
Returns the defined map orientation as a string
",183:"
public string RenderOrder {
get;
internal 
set
}
Returns the render order as a string
",184:"
public int Width {
get;
internal 
set
}
The amount of horizontal tiles
",185:"
public int Height {
get;
internal 
set
}
The amount of vertical tiles
",186:"
public int TileWidth {
get;
internal 
set
}
The tile width in pixels
",187:"
public int TileHeight {
get;
internal 
set
}
The tile height in pixels
",188:"
public float ParallaxOriginX {
get;
internal 
set
}
The parallax origin x
",189:"
public float ParallaxOriginY {
get;
internal 
set
}
The parallax origin y
",190:"
public bool Infinite {
get;
internal 
set
}
Returns true if the map is configured as infinite
",191:"
public Color BackgroundColor {
get;
internal 
set
}
Returns the defined map background color as a TiledColor
",192:"
public Dictionary<int, TiledTileset> EmbeddedTilesets {
get;
internal 
set
}
Returns tilesets embedded in the map
",193:"
public TiledTileLayerFormat TileLayerFormat {
get;
internal 
set
}
Returns tile layer format map uses
",27:"
public TiledMap()
Returns an empty instance of TiledMap
",196:"
public TiledMap(
string 
path
)
Loads a Tiled map and parses it
",197:"
public TiledMap(
Stream 
stream
)
Loads a Tiled map in TMX format and parses it
",198:"
public void ParseXml(
string 
xml
)
Can be used to parse the content of a TMX map manually instead of loading it using the constructor
",211:"
public TiledMapTileset GetTiledMapTileset(
int 
gid
)
Locates the right TiledMapTileset object for you within the Tilesets array
",212:"
public Dictionary<int, TiledTileset> GetTiledTilesets(
string 
src
)
Loads external tilesets and matches them to firstGids from elements within the Tilesets array
",213:"
public TiledTile GetTiledTile(
TiledMapTileset 
mapTileset,
TiledTileset 
tileset,
int 
gid
)
Locates a specific TiledTile object
",214:"
public TiledSourceRect GetSourceRect(
TiledMapTileset 
mapTileset,
TiledTileset 
tileset,
int 
gid
)
This method can be used to figure out the source rect on a Tileset image for rendering tiles.
",215:"
public bool IsTileFlippedHorizontal(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped horizontally
",216:"
public bool IsTileFlippedHorizontal(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped horizontally
",217:"
public bool IsTileFlippedHorizontal(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped horizontally
",218:"
public bool IsTileFlippedVertical(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped vertically
",219:"
public bool IsTileFlippedVertical(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped vertically
",220:"
public bool IsTileFlippedVertical(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped vertically
",221:"
public bool IsTileFlippedDiagonal(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped diagonally
",222:"
public bool IsTileFlippedDiagonal(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped diagonally
",223:"
public bool IsTileFlippedDiagonal(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped diagonally
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledMap-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledMap-ToolTips.js index 43a186d..29b9447 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledMap-ToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledMap-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({1:"
public
TiledCSPlus.​TiledException
Represents an exception only thrown by TiledCS
",70:"
public
TiledCSPlus.​Color
Represents a color in RGBA format
",79:"
public
TiledCSPlus.​TiledMapTileset
Represents an element within the Tilesets array of a TiledMap object
",84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",89:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",111:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",130:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",139:"
public
TiledCSPlus.​TiledImage
Represents an image
",149:"
public
TiledCSPlus.​TiledSourceRect
Used as data type for the GetSourceRect method. Represents basically a rectangle.
",155:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
",173:"
public
TiledCSPlus.​TiledTileset
Represents a Tiled tileset
",201:"
public enum TiledLayerType
Represents the layer type
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({1:"
public
TiledCSPlus.​TiledException
Represents an exception only thrown by TiledCS
",5:"
public
TiledCSPlus.​TiledTileset
Represents a Tiled tileset
",44:"
public
TiledCSPlus.​TiledMapTileset
Represents an element within the Tilesets array of a TiledMap object
",49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",54:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",76:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",95:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",114:"
public
TiledCSPlus.​TiledSourceRect
Used as data type for the GetSourceRect method. Represents basically a rectangle.
",120:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
",227:"
public enum TiledTileLayerFormat
Represents format which tile formats are saved in
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledMap.html b/docs/classes/CSharp/TiledCSPlus/TiledMap.html index 065bc67..20e3dab 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledMap.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledMap.html @@ -10,307 +10,238 @@ -
+
TiledCSPlus.​TiledMap
-
public
TiledCSPlus.​TiledMap
+
public
TiledCSPlus.​TiledMap

Represents a Tiled map

-
+
Constants
-
-
FLIPPED_HORIZONTALLY_FLAG
-
const uint FLIPPED_HORIZONTALLY_FLAG
-
- -
-
FLIPPED_VERTICALLY_FLAG
-
const uint FLIPPED_VERTICALLY_FLAG
-
- -
-
FLIPPED_DIAGONALLY_FLAG
-
const uint FLIPPED_DIAGONALLY_FLAG
-
- -
+
SHIFT_FLIP_FLAG_TO_BYTE
-
const int SHIFT_FLIP_FLAG_TO_BYTE
+
const int SHIFT_FLIP_FLAG_TO_BYTE

How many times we shift the FLIPPED flags to the right in order to store it in a byte.  For example: 0b10100000000000000000000000000000 >> SHIFT_FLIP_FLAG_TO_BYTE = 0b00000101

-
+
Properties
-
+
TiledVersion
-
public string TiledVersion {
get;
internal 
set
}
+
public string TiledVersion {
get;
internal 
set
}

Returns the Tiled version used to create this map

-
+
MapVersion
-
public string MapVersion {
get;
internal 
set
}
+
public string MapVersion {
get;
internal 
set
}

Returns map compability mode this map is saved in

-
+
Properties
-
public TiledProperty[] Properties {
get;
internal 
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

Returns an array of properties defined in the map

-
+
Tilesets
-
public TiledMapTileset[] Tilesets {
get;
internal 
set
}
+
public TiledMapTileset[] Tilesets {
get;
internal 
set
}

Returns an array of tileset definitions in the map

-
+
Layers
-
public TiledLayer[] Layers {
get;
internal 
set
}
+
public TiledLayer[] Layers {
get;
internal 
set
}

Returns an array of layers or null if none were defined

-
+
Groups
-
public TiledGroup[] Groups {
get;
internal 
set
}
+
public TiledGroup[] Groups {
get;
internal 
set
}

Returns an array of groups or null if none were defined

-
+
Orientation
-
public string Orientation {
get;
internal 
set
}
+
public string Orientation {
get;
internal 
set
}

Returns the defined map orientation as a string

-
+
RenderOrder
-
public string RenderOrder {
get;
internal 
set
}
+
public string RenderOrder {
get;
internal 
set
}

Returns the render order as a string

-
+
Width
-
public int Width {
get;
internal 
set
}
+
public int Width {
get;
internal 
set
}

The amount of horizontal tiles

-
+
Height
-
public int Height {
get;
internal 
set
}
+
public int Height {
get;
internal 
set
}

The amount of vertical tiles

-
+
TileWidth
-
public int TileWidth {
get;
internal 
set
}
+
public int TileWidth {
get;
internal 
set
}

The tile width in pixels

-
+
TileHeight
-
public int TileHeight {
get;
internal 
set
}
+
public int TileHeight {
get;
internal 
set
}

The tile height in pixels

-
+
ParallaxOriginX
-
public float ParallaxOriginX {
get;
internal 
set
}
+
public float ParallaxOriginX {
get;
internal 
set
}

The parallax origin x

-
+
ParallaxOriginY
-
public float ParallaxOriginY {
get;
internal 
set
}
+
public float ParallaxOriginY {
get;
internal 
set
}

The parallax origin y

-
+
Infinite
-
public bool Infinite {
get;
internal 
set
}
+
public bool Infinite {
get;
internal 
set
}

Returns true if the map is configured as infinite

-
+
BackgroundColor
-
public Color BackgroundColor {
get;
internal 
set
}
+
public Color BackgroundColor {
get;
internal 
set
}

Returns the defined map background color as a TiledColor

-
+
EmbeddedTilesets
-
public Dictionary<int, TiledTileset> EmbeddedTilesets {
get;
internal 
set
}
+
public Dictionary<int, TiledTileset> EmbeddedTilesets {
get;
internal 
set
}

Returns tilesets embedded in the map

-
+
+
TileLayerFormat
+
public TiledTileLayerFormat TileLayerFormat {
get;
internal 
set
}
+

Returns tile layer format map uses

+
+ +
Functions
-
+
TiledMap
-
public TiledMap()
+
public TiledMap()

Returns an empty instance of TiledMap

-
+
TiledMap
-
public TiledMap(
string 
path
)
-

Loads a Tiled map in TMX format and parses it

Parameter
path
string

The path to the tmx file

Exceptions
TiledException

Thrown when the map could not be loaded or is not in a correct format

+
public TiledMap(
string 
path
)
+

Loads a Tiled map and parses it

Parameter
path
string

The path to the map file

Exceptions
TiledException

Thrown when the map could not be loaded or is not in a correct format

-
+
TiledMap
-
public TiledMap(
Stream 
stream
)
+
public TiledMap(
Stream 
stream
)

Loads a Tiled map in TMX format and parses it

Parameter
stream
Stream

Stream of opened tmx file

Exceptions
TiledException

Thrown when the map could not be loaded

-
+
ParseXml
-
public void ParseXml(
string 
xml
)
+
public void ParseXml(
string 
xml
)

Can be used to parse the content of a TMX map manually instead of loading it using the constructor

Parameter
xml
string

The tmx file content as string

Exceptions
-
-
ParseProperties
-
private TiledProperty[] ParseProperties(
XmlNodeList 
nodeList
)
-
- -
-
ParseTilesets
-
private TiledMapTileset[] ParseTilesets(
XmlNodeList 
nodeList
)
-
- -
-
ParseGroups
-
private TiledGroup[] ParseGroups(
XmlNodeList 
nodeListGroups
)
-
- -
-
ParseLayers
-
private TiledLayer[] ParseLayers(
XmlNodeList 
nodesLayer
)
-
- -
-
ParseLayer
-
private TiledLayer ParseLayer(
XmlNode 
node,
type
)
-
- -
-
ParseTileLayerData
-
private void ParseTileLayerData(
XmlNode 
nodeData,
ref 
tiledLayer
)
-
- -
-
ParseTileLayerDataAsBase64
-
private void ParseTileLayerDataAsBase64(
string 
input,
string 
compression,
out 
int[] 
data,
out 
byte[] 
dataRotationFlags
)
-
- -
-
ParseTileLayerDataAsCSV
-
private void ParseTileLayerDataAsCSV(
string 
input,
out 
int[] 
data,
out 
byte[] 
dataRotationFlags
)
-
- -
-
ParseImage
-
private TiledImage ParseImage(
XmlNode 
node
)
-
- -
-
ParseObjects
-
private TiledObject[] ParseObjects(
XmlNodeList 
nodeList
)
-
- -
-
ParseObjectGid
-
private void ParseObjectGid(
ref 
tiledObject,
String 
gid
)
-
- -
-
ParseColor
-
private Color ParseColor(
string 
hexColor
)
-
- -
+
GetTiledMapTileset
-
public TiledMapTileset GetTiledMapTileset(
int 
gid
)
+
public TiledMapTileset GetTiledMapTileset(
int 
gid
)

Locates the right TiledMapTileset object for you within the Tilesets array

Parameter
gid
int

A value from the TiledLayer.data array

Returns

An element within the Tilesets array or null if no match was found

-
+
GetTiledTilesets
-
public Dictionary<int, TiledTileset> GetTiledTilesets(
string 
src
)
+
public Dictionary<int, TiledTileset> GetTiledTilesets(
string 
src
)

Loads external tilesets and matches them to firstGids from elements within the Tilesets array

Parameter
src
string

The folder where the TiledMap file is located

Returns

A dictionary where the key represents the firstGid of the associated TiledMapTileset and the value the TiledTileset object

-
+
GetTiledTile
-
public TiledTile GetTiledTile(
mapTileset,
tileset,
int 
gid
)
-

Locates a specific TiledTile object

Tip: Use the GetTiledMapTileset and GetTiledTilesets methods for retrieving the correct TiledMapTileset and TiledTileset objects

Parameters
mapTileset

An element within the Tilesets array

tileset

An instance of the TiledTileset class

gid
int

An element from within a TiledLayer.data array

Returns

An entry of the TiledTileset.tiles array or null if none of the tile id's matches the gid

+
public TiledTile GetTiledTile(
mapTileset,
tileset,
int 
gid
)
+

Locates a specific TiledTile object

Tip: Use the GetTiledMapTileset and GetTiledTilesets methods for retrieving the correct TiledMapTileset and TiledTileset objects

Parameters
mapTileset

An element within the Tilesets array

tileset

An instance of the TiledTileset class

gid
int

An element from within a TiledLayer.data array

Returns

An entry of the TiledTileset.tiles array or null if none of the tile id's matches the gid

-
+
GetSourceRect
-
public TiledSourceRect GetSourceRect(
mapTileset,
tileset,
int 
gid
)
-

This method can be used to figure out the source rect on a Tileset image for rendering tiles.

Parameters
mapTileset
tileset
gid
int
Returns

An instance of the class TiledSourceRect that represents a rectangle. Returns null if the provided gid was not found within the tileset.

+
public TiledSourceRect GetSourceRect(
mapTileset,
tileset,
int 
gid
)
+

This method can be used to figure out the source rect on a Tileset image for rendering tiles.

Parameters
mapTileset
tileset
gid
int
Returns

An instance of the class TiledSourceRect that represents a rectangle. Returns null if the provided gid was not found within the tileset.

-
+
IsTileFlippedHorizontal
-
public bool IsTileFlippedHorizontal(
layer,
int 
tileHor,
int 
tileVert
)
-

Checks is a tile is flipped horizontally

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped horizontally or False if not

+
public bool IsTileFlippedHorizontal(
layer,
int 
tileHor,
int 
tileVert
)
+

Checks is a tile is flipped horizontally

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped horizontally or False if not

-
+
IsTileFlippedHorizontal
-
public bool IsTileFlippedHorizontal(
layer,
int 
dataIndex
)
-

Checks is a tile is flipped horizontally

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped horizontally or False if not

+
public bool IsTileFlippedHorizontal(
layer,
int 
dataIndex
)
+

Checks is a tile is flipped horizontally

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped horizontally or False if not

-
+
IsTileFlippedHorizontal
-
public bool IsTileFlippedHorizontal(
tiledObject
)
-

Checks is a tile linked to an object is flipped horizontally

Parameter
tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

+
public bool IsTileFlippedHorizontal(
tiledObject
)
+

Checks is a tile linked to an object is flipped horizontally

Parameter
tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

-
+
IsTileFlippedVertical
-
public bool IsTileFlippedVertical(
layer,
int 
tileHor,
int 
tileVert
)
-

Checks is a tile is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped vertically or False if not

+
public bool IsTileFlippedVertical(
layer,
int 
tileHor,
int 
tileVert
)
+

Checks is a tile is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped vertically or False if not

-
+
IsTileFlippedVertical
-
public bool IsTileFlippedVertical(
layer,
int 
dataIndex
)
-

Checks is a tile is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped vertically or False if not

+
public bool IsTileFlippedVertical(
layer,
int 
dataIndex
)
+

Checks is a tile is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped vertically or False if not

-
+
IsTileFlippedVertical
-
public bool IsTileFlippedVertical(
tiledObject
)
-

Checks is a tile linked to an object is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

+
public bool IsTileFlippedVertical(
tiledObject
)
+

Checks is a tile linked to an object is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

-
+
IsTileFlippedDiagonal
-
public bool IsTileFlippedDiagonal(
layer,
int 
tileHor,
int 
tileVert
)
-

Checks is a tile is flipped diagonally

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped diagonally or False if not

+
public bool IsTileFlippedDiagonal(
layer,
int 
tileHor,
int 
tileVert
)
+

Checks is a tile is flipped diagonally

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped diagonally or False if not

-
+
IsTileFlippedDiagonal
-
public bool IsTileFlippedDiagonal(
layer,
int 
dataIndex
)
-

Checks is a tile is flipped diagonally

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped diagonally or False if not

+
public bool IsTileFlippedDiagonal(
layer,
int 
dataIndex
)
+

Checks is a tile is flipped diagonally

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped diagonally or False if not

-
+
IsTileFlippedDiagonal
-
public bool IsTileFlippedDiagonal(
tiledObject
)
-

Checks is a tile linked to an object is flipped diagonally

Parameter
tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

+
public bool IsTileFlippedDiagonal(
tiledObject
)
+

Checks is a tile linked to an object is flipped diagonally

Parameter
tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

\ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledMapTileset-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledMapTileset-Summary.js index 2c85191..f058927 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledMapTileset-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledMapTileset-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledMapTileset","TiledMapTileset");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledMapTileset",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[79,0,0,"TiledCSPlus.​TiledMapTileset"],[80,0,1,"Properties","Properties"],[81,0,2,"FirstGid","FirstGid"],[82,0,2,"IsTilesetEmbedded","IsTilesetEmbedded"],[83,0,2,"Source","Source"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledMapTileset","TiledMapTileset");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledMapTileset",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[44,0,0,"TiledCSPlus.​TiledMapTileset"],[45,0,1,"Properties","Properties"],[46,0,2,"FirstGid","FirstGid"],[47,0,2,"IsTilesetEmbedded","IsTilesetEmbedded"],[48,0,2,"Source","Source"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledMapTileset-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledMapTileset-SummaryToolTips.js index 968190e..0b107c2 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledMapTileset-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledMapTileset-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledMapTileset",{79:"
public
TiledCSPlus.​TiledMapTileset
Represents an element within the Tilesets array of a TiledMap object
",81:"
public int FirstGid {
get;
internal 
set
}
The first gid defines which gid matches the tile with source vector 0,0. Is used to determine which tileset belongs to which gid
",82:"
public bool IsTilesetEmbedded {
get;
internal 
set
}
Returns true if tileset is embedded in map
",83:"
public string Source {
get;
internal 
set
}
The tsx file path as defined in the map file itself
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledMapTileset",{44:"
public
TiledCSPlus.​TiledMapTileset
Represents an element within the Tilesets array of a TiledMap object
",46:"
public int FirstGid {
get;
internal 
set
}
The first gid defines which gid matches the tile with source vector 0,0. Is used to determine which tileset belongs to which gid
",47:"
public bool IsTilesetEmbedded {
get;
internal 
set
}
Returns true if tileset is embedded in map
",48:"
public string Source {
get;
internal 
set
}
The tsx file path as defined in the map file itself
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledMapTileset.html b/docs/classes/CSharp/TiledCSPlus/TiledMapTileset.html index 21361b7..946d388 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledMapTileset.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledMapTileset.html @@ -10,31 +10,31 @@ -
+
TiledCSPlus.​TiledMapTileset
-
public
TiledCSPlus.​TiledMapTileset
+
public
TiledCSPlus.​TiledMapTileset

Represents an element within the Tilesets array of a TiledMap object

-
+
Properties
-
+
FirstGid
-
public int FirstGid {
get;
internal 
set
}
+
public int FirstGid {
get;
internal 
set
}

The first gid defines which gid matches the tile with source vector 0,0. Is used to determine which tileset belongs to which gid

-
+
IsTilesetEmbedded
-
public bool IsTilesetEmbedded {
get;
internal 
set
}
+
public bool IsTilesetEmbedded {
get;
internal 
set
}

Returns true if tileset is embedded in map

-
+
Source
-
public string Source {
get;
internal 
set
}
+
public string Source {
get;
internal 
set
}

The tsx file path as defined in the map file itself

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledObject-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledObject-Summary.js index c3b7823..c168ee0 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledObject-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledObject-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledObject","TiledObject");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledObject",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[111,0,0,"TiledCSPlus.​TiledObject"],[112,0,1,"Properties","Properties"],[113,0,2,"Id","Id"],[114,0,2,"Name","Name"],[115,0,2,"Class","Class"],[116,0,2,"Position","Position"],[117,0,2,"Rotation","Rotation"],[118,0,2,"Size","Size"],[119,0,2,"Gid","Gid"],[120,0,2,"DataRotationFlag","DataRotationFlag"],[121,0,2,"Properties","Properties(2)"],[122,0,2,"Polygon","Polygon"],[123,0,2,"Point","Point"],[124,0,2,"Ellipse","Ellipse"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledObject","TiledObject");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledObject",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[76,0,0,"TiledCSPlus.​TiledObject"],[77,0,1,"Properties","Properties"],[78,0,2,"Id","Id"],[79,0,2,"Name","Name"],[80,0,2,"Class","Class"],[81,0,2,"Position","Position"],[82,0,2,"Rotation","Rotation"],[83,0,2,"Size","Size"],[84,0,2,"Gid","Gid"],[85,0,2,"DataRotationFlag","DataRotationFlag"],[86,0,2,"Properties","Properties(2)"],[87,0,2,"Polygon","Polygon"],[88,0,2,"Point","Point"],[89,0,2,"Ellipse","Ellipse"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledObject-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledObject-SummaryToolTips.js index cad4c40..56f064a 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledObject-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledObject-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledObject",{111:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",113:"
public int Id {
get;
internal 
set
}
The object id
",114:"
public string Name {
get;
internal 
set
}
The object\'s name
",115:"
public string Class {
get;
internal 
set
}
The object\'s class
",116:"
public Vector2 Position {
get;
internal 
set
}
Object\'s position in pixels
",117:"
public float Rotation {
get;
internal 
set
}
The object\'s rotation
",118:"
public Size Size {
get;
internal 
set
}
Object\'s size in pixels
",119:"
public int Gid {
get;
internal 
set
}
The tileset gid when the object is linked to a tile
",120:"
public byte DataRotationFlag {
get;
internal 
set
}
A byte which stores the rotation flags of the tile linked to the object\'s gid.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.
",121:"
public TiledProperty[] Properties {
get;
internal 
set
}
An array of properties. Is null if none were defined.
",122:"
public TiledPolygon Polygon {
get;
internal 
set
}
If an object was set to a polygon shape, this property will be set and can be used to access the polygon\'s data
",123:"
public TiledPoint Point {
get;
internal 
set
}
If an object was set to a point shape, this property will be set
",124:"
public TiledEllipse Ellipse {
get;
internal 
set
}
If an object was set to an ellipse shape, this property will be set
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledObject",{76:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",78:"
public int Id {
get;
internal 
set
}
The object id
",79:"
public string Name {
get;
internal 
set
}
The object\'s name
",80:"
public string Class {
get;
internal 
set
}
The object\'s class
",81:"
public Vector2 Position {
get;
internal 
set
}
Object\'s position in pixels
",82:"
public float Rotation {
get;
internal 
set
}
The object\'s rotation
",83:"
public Size Size {
get;
internal 
set
}
Object\'s size in pixels
",84:"
public int Gid {
get;
internal 
set
}
The tileset gid when the object is linked to a tile
",85:"
public byte DataRotationFlag {
get;
internal 
set
}
A byte which stores the rotation flags of the tile linked to the object\'s gid.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.
",86:"
public TiledProperty[] Properties {
get;
internal 
set
}
An array of properties. Is null if none were defined.
",87:"
public TiledPolygon Polygon {
get;
internal 
set
}
If an object was set to a polygon shape, this property will be set and can be used to access the polygon\'s data
",88:"
public TiledPoint Point {
get;
internal 
set
}
If an object was set to a point shape, this property will be set
",89:"
public TiledEllipse Ellipse {
get;
internal 
set
}
If an object was set to an ellipse shape, this property will be set
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledObject-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledObject-ToolTips.js index a858056..95989e8 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledObject-ToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledObject-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({63:"
public
TiledCSPlus.​Size
Represents a size
",84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",125:"
public
TiledCSPlus.​TiledPolygon
Represents a polygon shape
",128:"
public
TiledCSPlus.​TiledPoint
Represents a point shape
",129:"
public
TiledCSPlus.​TiledEllipse
Represents an ellipse shape
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({37:"
public
TiledCSPlus.​Size
Represents a size
",49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",90:"
public
TiledCSPlus.​TiledPolygon
Represents a polygon shape
",93:"
public
TiledCSPlus.​TiledPoint
Represents a point shape
",94:"
public
TiledCSPlus.​TiledEllipse
Represents an ellipse shape
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledObject.html b/docs/classes/CSharp/TiledCSPlus/TiledObject.html index c20c89d..fa1ea23 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledObject.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledObject.html @@ -10,85 +10,85 @@ -
+
TiledCSPlus.​TiledObject
-
public
TiledCSPlus.​TiledObject
+
public
TiledCSPlus.​TiledObject

Represents an tiled object defined in object layers and tiles

-
+
Properties
-
+
Id
-
public int Id {
get;
internal 
set
}
+
public int Id {
get;
internal 
set
}

The object id

-
+
Name
-
public string Name {
get;
internal 
set
}
+
public string Name {
get;
internal 
set
}

The object's name

-
+
Class
-
public string Class {
get;
internal 
set
}
+
public string Class {
get;
internal 
set
}

The object's class

-
+
Position
-
public Vector2 Position {
get;
internal 
set
}
+
public Vector2 Position {
get;
internal 
set
}

Object's position in pixels

-
+
Rotation
-
public float Rotation {
get;
internal 
set
}
+
public float Rotation {
get;
internal 
set
}

The object's rotation

-
+
Size
-
public Size Size {
get;
internal 
set
}
+
public Size Size {
get;
internal 
set
}

Object's size in pixels

-
+
Gid
-
public int Gid {
get;
internal 
set
}
+
public int Gid {
get;
internal 
set
}

The tileset gid when the object is linked to a tile

-
+
DataRotationFlag
-
public byte DataRotationFlag {
get;
internal 
set
}
+
public byte DataRotationFlag {
get;
internal 
set
}

A byte which stores the rotation flags of the tile linked to the object's gid.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.

-
+
Properties
-
public TiledProperty[] Properties {
get;
internal 
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

An array of properties. Is null if none were defined.

-
+
Polygon
-
public TiledPolygon Polygon {
get;
internal 
set
}
+
public TiledPolygon Polygon {
get;
internal 
set
}

If an object was set to a polygon shape, this property will be set and can be used to access the polygon's data

-
+
Point
-
public TiledPoint Point {
get;
internal 
set
}
+
public TiledPoint Point {
get;
internal 
set
}

If an object was set to a point shape, this property will be set

-
+
Ellipse
-
public TiledEllipse Ellipse {
get;
internal 
set
}
+
public TiledEllipse Ellipse {
get;
internal 
set
}

If an object was set to an ellipse shape, this property will be set

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledPoint-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledPoint-Summary.js index b615539..7ba0a3c 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledPoint-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledPoint-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledPoint","TiledPoint");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledPoint",[["C#","CSharp"]],[["Classes","Class"]],[[128,0,0,"TiledCSPlus.​TiledPoint"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledPoint","TiledPoint");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledPoint",[["C#","CSharp"]],[["Classes","Class"]],[[93,0,0,"TiledCSPlus.​TiledPoint"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledPoint-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledPoint-SummaryToolTips.js index 4348bd0..aa8e987 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledPoint-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledPoint-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledPoint",{128:"
public
TiledCSPlus.​TiledPoint
Represents a point shape
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledPoint",{93:"
public
TiledCSPlus.​TiledPoint
Represents a point shape
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledPoint.html b/docs/classes/CSharp/TiledCSPlus/TiledPoint.html index ea535d2..6808154 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledPoint.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledPoint.html @@ -10,9 +10,9 @@ -
+
TiledCSPlus.​TiledPoint
-
public
TiledCSPlus.​TiledPoint
+
public
TiledCSPlus.​TiledPoint

Represents a point shape

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledPolygon-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledPolygon-Summary.js index e2c1620..cc33823 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledPolygon-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledPolygon-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledPolygon","TiledPolygon");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledPolygon",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[125,0,0,"TiledCSPlus.​TiledPolygon"],[126,0,1,"Properties","Properties"],[127,0,2,"Points","Points"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledPolygon","TiledPolygon");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledPolygon",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[90,0,0,"TiledCSPlus.​TiledPolygon"],[91,0,1,"Properties","Properties"],[92,0,2,"Points","Points"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledPolygon-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledPolygon-SummaryToolTips.js index 2fe20f6..a4dc6db 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledPolygon-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledPolygon-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledPolygon",{125:"
public
TiledCSPlus.​TiledPolygon
Represents a polygon shape
",127:"
public Vector2[] Points {
get;
internal 
set
}
The array of vertices represented in Vector2 format.
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledPolygon",{90:"
public
TiledCSPlus.​TiledPolygon
Represents a polygon shape
",92:"
public Vector2[] Points {
get;
internal 
set
}
The array of vertices represented in Vector2 format.
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledPolygon.html b/docs/classes/CSharp/TiledCSPlus/TiledPolygon.html index d80be47..29e8361 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledPolygon.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledPolygon.html @@ -10,19 +10,19 @@ -
+
TiledCSPlus.​TiledPolygon
-
public
TiledCSPlus.​TiledPolygon
+
public
TiledCSPlus.​TiledPolygon

Represents a polygon shape

-
+
Properties
-
+
Points
-
public Vector2[] Points {
get;
internal 
set
}
+
public Vector2[] Points {
get;
internal 
set
}

The array of vertices represented in Vector2 format.

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledProperty-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledProperty-Summary.js index ab4cee6..9a224c6 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledProperty-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledProperty-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledProperty","TiledProperty");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledProperty",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[84,0,0,"TiledCSPlus.​TiledProperty"],[85,0,1,"Properties","Properties"],[86,0,2,"Name","Name"],[87,0,2,"Type","Type"],[88,0,2,"Value","Value"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledProperty","TiledProperty");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledProperty",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[49,0,0,"TiledCSPlus.​TiledProperty"],[50,0,1,"Properties","Properties"],[51,0,2,"Name","Name"],[52,0,2,"Type","Type"],[53,0,2,"Value","Value"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledProperty-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledProperty-SummaryToolTips.js index d5c7340..ba8b9e5 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledProperty-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledProperty-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledProperty",{84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",86:"
public string Name {
get;
internal 
set
}
The property name or key in string format
",87:"
public TiledPropertyType Type {
get;
internal 
set
}
The property type as used in Tiled. Can be bool, number, string, ...
",88:"
public string Value {
get;
internal 
set
}
The value in string format
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledProperty",{49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",51:"
public string Name {
get;
internal 
set
}
The property name or key in string format
",52:"
public TiledPropertyType Type {
get;
internal 
set
}
The property type as used in Tiled. Can be bool, number, string, ...
",53:"
public string Value {
get;
internal 
set
}
The value in string format
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledProperty-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledProperty-ToolTips.js index 3e8fc4e..e13605d 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledProperty-ToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledProperty-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({202:"
public enum TiledPropertyType
Represents property\'s value data type
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({226:"
public enum TiledPropertyType
Represents property\'s value data type
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledProperty.html b/docs/classes/CSharp/TiledCSPlus/TiledProperty.html index 80a6de8..3afd02d 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledProperty.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledProperty.html @@ -10,31 +10,31 @@ -
+
TiledCSPlus.​TiledProperty
-
public
TiledCSPlus.​TiledProperty
+
public
TiledCSPlus.​TiledProperty

Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the 'type' property for conversions

-
+
Properties
-
+
Name
-
public string Name {
get;
internal 
set
}
+
public string Name {
get;
internal 
set
}

The property name or key in string format

-
+
Type
-
public TiledPropertyType Type {
get;
internal 
set
}
+
public TiledPropertyType Type {
get;
internal 
set
}

The property type as used in Tiled. Can be bool, number, string, ...

-
+
Value
-
public string Value {
get;
internal 
set
}
+
public string Value {
get;
internal 
set
}

The value in string format

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledSourceRect-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledSourceRect-Summary.js index 137c97f..d84c7ea 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledSourceRect-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledSourceRect-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledSourceRect","TiledSourceRect");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledSourceRect",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[149,0,0,"TiledCSPlus.​TiledSourceRect"],[150,0,1,"Properties","Properties"],[151,0,2,"X","X"],[152,0,2,"Y","Y"],[153,0,2,"Width","Width"],[154,0,2,"Height","Height"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledSourceRect","TiledSourceRect");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledSourceRect",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[114,0,0,"TiledCSPlus.​TiledSourceRect"],[115,0,1,"Properties","Properties"],[116,0,2,"X","X"],[117,0,2,"Y","Y"],[118,0,2,"Width","Width"],[119,0,2,"Height","Height"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledSourceRect-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledSourceRect-SummaryToolTips.js index 230c6d8..171fc65 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledSourceRect-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledSourceRect-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledSourceRect",{149:"
public
TiledCSPlus.​TiledSourceRect
Used as data type for the GetSourceRect method. Represents basically a rectangle.
",151:"
public int X {
get;
internal 
set
}
The x position in pixels from the tile location in the source image
",152:"
public int Y {
get;
internal 
set
}
The y position in pixels from the tile location in the source image
",153:"
public int Width {
get;
internal 
set
}
The width in pixels from the tile in the source image
",154:"
public int Height {
get;
internal 
set
}
The height in pixels from the tile in the source image
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledSourceRect",{114:"
public
TiledCSPlus.​TiledSourceRect
Used as data type for the GetSourceRect method. Represents basically a rectangle.
",116:"
public int X {
get;
internal 
set
}
The x position in pixels from the tile location in the source image
",117:"
public int Y {
get;
internal 
set
}
The y position in pixels from the tile location in the source image
",118:"
public int Width {
get;
internal 
set
}
The width in pixels from the tile in the source image
",119:"
public int Height {
get;
internal 
set
}
The height in pixels from the tile in the source image
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledSourceRect.html b/docs/classes/CSharp/TiledCSPlus/TiledSourceRect.html index 3850a40..156d742 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledSourceRect.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledSourceRect.html @@ -10,37 +10,37 @@ -
+
TiledCSPlus.​TiledSourceRect
-
public
TiledCSPlus.​TiledSourceRect
+
public
TiledCSPlus.​TiledSourceRect

Used as data type for the GetSourceRect method. Represents basically a rectangle.

-
+
Properties
-
+
X
-
public int X {
get;
internal 
set
}
+
public int X {
get;
internal 
set
}

The x position in pixels from the tile location in the source image

-
+
Y
-
public int Y {
get;
internal 
set
}
+
public int Y {
get;
internal 
set
}

The y position in pixels from the tile location in the source image

-
+
Width
-
public int Width {
get;
internal 
set
}
+
public int Width {
get;
internal 
set
}

The width in pixels from the tile in the source image

-
+
Height
-
public int Height {
get;
internal 
set
}
+
public int Height {
get;
internal 
set
}

The height in pixels from the tile in the source image

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-Summary.js new file mode 100644 index 0000000..672afc6 --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-Summary.js @@ -0,0 +1 @@ +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledTerrainSet","TiledTerrainSet");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledTerrainSet",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[138,0,0,"TiledCSPlus.​TiledTerrainSet"],[139,0,1,"Properties","Properties"],[140,0,2,"Name","Name"],[141,0,2,"Class","Class"],[142,0,2,"Tile","Tile"],[143,0,2,"TerrainSetColors","TerrainSetColors"],[144,0,2,"TerrainSetTiles","TerrainSetTiles"],[145,0,2,"Properties","Properties(2)"],[146,0,2,"Type","Type"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-SummaryToolTips.js new file mode 100644 index 0000000..a9f1410 --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-SummaryToolTips.js @@ -0,0 +1 @@ +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledTerrainSet",{138:"
public
TiledCSPlus.​TiledTerrainSet
Represents terrain set
",140:"
public string Name {
get;
internal 
set
}
The name of terrain set
",141:"
public string Class {
get;
internal 
set
}
The class of terrain set
",142:"
public int Tile {
get;
internal 
set
}
The tile ID of the tile representing this terrain set
",143:"
public TiledTerrainSetColor[] TerrainSetColors {
get;
internal 
set
}
The terrain set\'s colors
",144:"
public Dictionary<int, TiledTerrainSetTile> TerrainSetTiles {
get;
internal 
set
}
The terrain set\'s tiles
",145:"
public TiledProperty[] Properties {
get;
internal 
set
}
The terrain set\'s properties
",146:"
public TiledTerrainSetType Type {
get;
internal 
set
}
The type of terrain set
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-ToolTips.js new file mode 100644 index 0000000..8f4a00b --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet-ToolTips.js @@ -0,0 +1 @@ +NDContentPage.OnToolTipsLoaded({28:"
public enum TiledTerrainSetType
Represents terrain set types
",49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",147:"
public
TiledCSPlus.​TiledTerrainSetColor
Represents terrain set color
",155:"
public
TiledCSPlus.​TiledTerrainSetTile
Represents terrain set\'s single tile
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet.html b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet.html new file mode 100644 index 0000000..cd7e380 --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSet.html @@ -0,0 +1,65 @@ + + +TiledTerrainSet + + + + + + + + + +
+
TiledCSPlus.​TiledTerrainSet
+
public
TiledCSPlus.​TiledTerrainSet
+

Represents terrain set

+
+ +
+
Properties
+
+ +
+
Name
+
public string Name {
get;
internal 
set
}
+

The name of terrain set

+
+ +
+
Class
+
public string Class {
get;
internal 
set
}
+

The class of terrain set

+
+ +
+
Tile
+
public int Tile {
get;
internal 
set
}
+

The tile ID of the tile representing this terrain set

+
+ +
+
TerrainSetColors
+
public TiledTerrainSetColor[] TerrainSetColors {
get;
internal 
set
}
+

The terrain set's colors

+
+ +
+
TerrainSetTiles
+
public Dictionary<int, TiledTerrainSetTile> TerrainSetTiles {
get;
internal 
set
}
+

The terrain set's tiles

+
+ +
+
Properties
+
public TiledProperty[] Properties {
get;
internal 
set
}
+

The terrain set's properties

+
+ +
+
Type
+
public TiledTerrainSetType Type {
get;
internal 
set
}
+

The type of terrain set

+
+ + \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-Summary.js new file mode 100644 index 0000000..ecc3478 --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-Summary.js @@ -0,0 +1 @@ +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledTerrainSetColor","TiledTerrainSetColor");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledTerrainSetColor",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[147,0,0,"TiledCSPlus.​TiledTerrainSetColor"],[148,0,1,"Properties","Properties"],[149,0,2,"Color","Color"],[150,0,2,"Name","Name"],[151,0,2,"Class","Class"],[152,0,2,"Tile","Tile"],[153,0,2,"Probability","Probability"],[154,0,2,"Properties","Properties(2)"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-SummaryToolTips.js new file mode 100644 index 0000000..49e7986 --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-SummaryToolTips.js @@ -0,0 +1 @@ +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledTerrainSetColor",{147:"
public
TiledCSPlus.​TiledTerrainSetColor
Represents terrain set color
",149:"
public Color Color {
get;
internal 
set
}
The terrain set color\'s color
",150:"
public string Name {
get;
internal 
set
}
The terrain set\'s color name
",151:"
public string Class {
get;
internal 
set
}
The terrain set\'s color class
",152:"
public int Tile {
get;
internal 
set
}
The tile ID chosen as color icon
",153:"
public float Probability {
get;
internal 
set
}
The terrain set\'s color probability
",154:"
public TiledProperty[] Properties {
get;
internal 
set
}
The terrain set\'s color properties
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-ToolTips.js new file mode 100644 index 0000000..decef71 --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor-ToolTips.js @@ -0,0 +1 @@ +NDContentPage.OnToolTipsLoaded({49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor.html b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor.html new file mode 100644 index 0000000..7538b58 --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetColor.html @@ -0,0 +1,59 @@ + + +TiledTerrainSetColor + + + + + + + + + +
+
TiledCSPlus.​TiledTerrainSetColor
+
public
TiledCSPlus.​TiledTerrainSetColor
+

Represents terrain set color

+
+ +
+
Properties
+
+ +
+
Color
+
public Color Color {
get;
internal 
set
}
+

The terrain set color's color

+
+ +
+
Name
+
public string Name {
get;
internal 
set
}
+

The terrain set's color name

+
+ +
+
Class
+
public string Class {
get;
internal 
set
}
+

The terrain set's color class

+
+ +
+
Tile
+
public int Tile {
get;
internal 
set
}
+

The tile ID chosen as color icon

+
+ +
+
Probability
+
public float Probability {
get;
internal 
set
}
+

The terrain set's color probability

+
+ +
+
Properties
+
public TiledProperty[] Properties {
get;
internal 
set
}
+

The terrain set's color properties

+
+ + \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-Summary.js new file mode 100644 index 0000000..22e9c34 --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-Summary.js @@ -0,0 +1 @@ +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledTerrainSetTile","TiledTerrainSetTile");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledTerrainSetTile",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[155,0,0,"TiledCSPlus.​TiledTerrainSetTile"],[156,0,1,"Properties","Properties"],[157,0,2,"Top","Top"],[158,0,2,"TopRight","TopRight"],[159,0,2,"Right","Right"],[160,0,2,"BottomRight","BottomRight"],[161,0,2,"Bottom","Bottom"],[162,0,2,"BottomLeft","BottomLeft"],[163,0,2,"Left","Left"],[164,0,2,"TopLeft","TopLeft"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-SummaryToolTips.js new file mode 100644 index 0000000..910fa8c --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-SummaryToolTips.js @@ -0,0 +1 @@ +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledTerrainSetTile",{155:"
public
TiledCSPlus.​TiledTerrainSetTile
Represents terrain set\'s single tile
",157:"
public int Top {
get;
internal 
set
}
Top color of terrain set tile
",158:"
public int TopRight {
get;
internal 
set
}
Top right color of terrain set tile
",159:"
public int Right {
get;
internal 
set
}
Right color of terrain set tile
",160:"
public int BottomRight {
get;
internal 
set
}
Bottom right color of terrain set tile
",161:"
public int Bottom {
get;
internal 
set
}
Bottom color of terrain set tile
",162:"
public int BottomLeft {
get;
internal 
set
}
Bottom left color of terrain set tile
",163:"
public int Left {
get;
internal 
set
}
Left color of terrain set tile
",164:"
public int TopLeft {
get;
internal 
set
}
Top left color of terrain set tile
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-ToolTips.js new file mode 100644 index 0000000..eddcd48 --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile-ToolTips.js @@ -0,0 +1 @@ +NDContentPage.OnToolTipsLoaded({}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile.html b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile.html new file mode 100644 index 0000000..05fa301 --- /dev/null +++ b/docs/classes/CSharp/TiledCSPlus/TiledTerrainSetTile.html @@ -0,0 +1,71 @@ + + +TiledTerrainSetTile + + + + + + + + + +
+
TiledCSPlus.​TiledTerrainSetTile
+
public
TiledCSPlus.​TiledTerrainSetTile
+

Represents terrain set's single tile

+
+ +
+
Properties
+
+ +
+
Top
+
public int Top {
get;
internal 
set
}
+

Top color of terrain set tile

+
+ +
+
TopRight
+
public int TopRight {
get;
internal 
set
}
+

Top right color of terrain set tile

+
+ +
+
Right
+
public int Right {
get;
internal 
set
}
+

Right color of terrain set tile

+
+ +
+
BottomRight
+
public int BottomRight {
get;
internal 
set
}
+

Bottom right color of terrain set tile

+
+ +
+
Bottom
+
public int Bottom {
get;
internal 
set
}
+

Bottom color of terrain set tile

+
+ +
+
BottomLeft
+
public int BottomLeft {
get;
internal 
set
}
+

Bottom left color of terrain set tile

+
+ +
+
Left
+
public int Left {
get;
internal 
set
}
+

Left color of terrain set tile

+
+ +
+
TopLeft
+
public int TopLeft {
get;
internal 
set
}
+

Top left color of terrain set tile

+
+ + \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTile-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledTile-Summary.js index a6ce1b4..8806af7 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTile-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledTile-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledTile","TiledTile");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledTile",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[130,0,0,"TiledCSPlus.​TiledTile"],[131,0,1,"Properties","Properties"],[132,0,2,"Id","Id"],[133,0,2,"Class","Class"],[134,0,2,"Terrain","Terrain"],[135,0,2,"Properties","Properties(2)"],[136,0,2,"Animations","Animations"],[137,0,2,"Objects","Objects"],[138,0,2,"Image","Image"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledTile","TiledTile");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledTile",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[95,0,0,"TiledCSPlus.​TiledTile"],[96,0,1,"Properties","Properties"],[97,0,2,"Id","Id"],[98,0,2,"Class","Class"],[99,0,2,"Terrain","Terrain"],[100,0,2,"Properties","Properties(2)"],[101,0,2,"Animations","Animations"],[102,0,2,"Objects","Objects"],[103,0,2,"Image","Image"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTile-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTile-SummaryToolTips.js index 927bc68..9ce96d4 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTile-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledTile-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledTile",{130:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",132:"
public int Id {
get;
internal 
set
}
The tile id
",133:"
public string Class {
get;
internal 
set
}
The custom tile class, set by the user
",134:"
public int[] Terrain {
get;
internal 
set
}
The terrain definitions as int array. These are indices indicating what part of a terrain and which terrain this tile represents.
",135:"
public TiledProperty[] Properties {
get;
internal 
set
}
An array of properties. Is null if none were defined.
",136:"
public TiledTileAnimation[] Animations {
get;
internal 
set
}
An array of tile animations. Is null if none were defined.
",137:"
public TiledObject[] Objects {
get;
internal 
set
}
An array of tile objects created using the tile collision editor
",138:"
public TiledImage Image {
get;
internal 
set
}
The individual tile image
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledTile",{95:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",97:"
public int Id {
get;
internal 
set
}
The tile id
",98:"
public string Class {
get;
internal 
set
}
The custom tile class, set by the user
",99:"
public int[] Terrain {
get;
internal 
set
}
The terrain definitions as int array. These are indices indicating what part of a terrain and which terrain this tile represents.
",100:"
public TiledProperty[] Properties {
get;
internal 
set
}
An array of properties. Is null if none were defined.
",101:"
public TiledTileAnimation[] Animations {
get;
internal 
set
}
An array of tile animations. Is null if none were defined.
",102:"
public TiledObject[] Objects {
get;
internal 
set
}
An array of tile objects created using the tile collision editor
",103:"
public TiledImage Image {
get;
internal 
set
}
The individual tile image
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTile-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTile-ToolTips.js index 8e1b78f..bc691b0 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTile-ToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledTile-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",111:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",139:"
public
TiledCSPlus.​TiledImage
Represents an image
",145:"
public
TiledCSPlus.​TiledTileAnimation
Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",76:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",104:"
public
TiledCSPlus.​TiledImage
Represents an image
",110:"
public
TiledCSPlus.​TiledTileAnimation
Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTile.html b/docs/classes/CSharp/TiledCSPlus/TiledTile.html index bd2070a..59c3a8d 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTile.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledTile.html @@ -10,55 +10,55 @@ -
+
TiledCSPlus.​TiledTile
-
public
TiledCSPlus.​TiledTile
+
public
TiledCSPlus.​TiledTile

Represents a tile within a tileset

These are not defined for all tiles within a tileset, only the ones with properties, terrains and animations.

-
+
Properties
-
+
Id
-
public int Id {
get;
internal 
set
}
+
public int Id {
get;
internal 
set
}

The tile id

-
+
Class
-
public string Class {
get;
internal 
set
}
+
public string Class {
get;
internal 
set
}

The custom tile class, set by the user

-
+
Terrain
-
public int[] Terrain {
get;
internal 
set
}
+
public int[] Terrain {
get;
internal 
set
}

The terrain definitions as int array. These are indices indicating what part of a terrain and which terrain this tile represents.

In the map file empty space is used to indicate null or no value. However, since it is an int array I needed something so I decided to replace empty values with -1.

-
+
Properties
-
public TiledProperty[] Properties {
get;
internal 
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

An array of properties. Is null if none were defined.

-
+
Animations
-
public TiledTileAnimation[] Animations {
get;
internal 
set
}
+
public TiledTileAnimation[] Animations {
get;
internal 
set
}

An array of tile animations. Is null if none were defined.

-
+
Objects
-
public TiledObject[] Objects {
get;
internal 
set
}
+
public TiledObject[] Objects {
get;
internal 
set
}

An array of tile objects created using the tile collision editor

-
+
Image
-
public TiledImage Image {
get;
internal 
set
}
+
public TiledImage Image {
get;
internal 
set
}

The individual tile image

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation-Summary.js index b9d3b5f..14ae305 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledTileAnimation","TiledTileAnimation");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledTileAnimation",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[145,0,0,"TiledCSPlus.​TiledTileAnimation"],[146,0,1,"Properties","Properties"],[147,0,2,"TileId","TileId"],[148,0,2,"Duration","Duration"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledTileAnimation","TiledTileAnimation");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledTileAnimation",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"]],[[110,0,0,"TiledCSPlus.​TiledTileAnimation"],[111,0,1,"Properties","Properties"],[112,0,2,"TileId","TileId"],[113,0,2,"Duration","Duration"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation-SummaryToolTips.js index 5ca201f..ec01488 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledTileAnimation",{145:"
public
TiledCSPlus.​TiledTileAnimation
Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.
",147:"
public int TileId {
get;
internal 
set
}
The tile id within a tileset
",148:"
public int Duration {
get;
internal 
set
}
The duration in miliseconds
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledTileAnimation",{110:"
public
TiledCSPlus.​TiledTileAnimation
Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.
",112:"
public int TileId {
get;
internal 
set
}
The tile id within a tileset
",113:"
public int Duration {
get;
internal 
set
}
The duration in miliseconds
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation.html b/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation.html index 927e9b9..276f11c 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledTileAnimation.html @@ -10,25 +10,25 @@ -
+
TiledCSPlus.​TiledTileAnimation
-
public
TiledCSPlus.​TiledTileAnimation
+
public
TiledCSPlus.​TiledTileAnimation

Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.

-
+
Properties
-
+
TileId
-
public int TileId {
get;
internal 
set
}
+
public int TileId {
get;
internal 
set
}

The tile id within a tileset

-
+
Duration
-
public int Duration {
get;
internal 
set
}
+
public int Duration {
get;
internal 
set
}

The duration in miliseconds

diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTileset-Summary.js b/docs/classes/CSharp/TiledCSPlus/TiledTileset-Summary.js index 9cbcaca..ee1c391 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTileset-Summary.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledTileset-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledTileset","TiledTileset");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledTileset",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"],["Properties","Property"]],[[173,0,0,"TiledCSPlus.​TiledTileset"],[174,0,2,"Properties","Properties"],[175,0,3,"TiledVersion","TiledVersion"],[176,0,3,"TilesetVersion","TilesetVersion"],[177,0,3,"Name","Name"],[178,0,3,"Class","Class"],[179,0,3,"TileWidth","TileWidth"],[180,0,3,"TileHeight","TileHeight"],[181,0,3,"TileCount","TileCount"],[182,0,3,"Columns","Columns"],[183,0,3,"Image","Image"],[184,0,3,"Spacing","Spacing"],[185,0,3,"Margin","Margin"],[186,0,3,"Tiles","Tiles"],[187,0,3,"Properties","Properties(2)"],[188,0,3,"Offset","Offset"],[189,0,2,"Functions","Functions"],[190,0,1,"TiledTileset","TiledTileset"],[191,0,1,"TiledTileset","TiledTileset(2)"],[192,0,1,"TiledTileset","TiledTileset(3)"],[193,0,1,"ParseXml","ParseXml"],[194,0,1,"ParseOffset","ParseOffset"],[195,0,1,"ParseImage","ParseImage"],[196,0,1,"ParseAnimations","ParseAnimations"],[197,0,1,"ParseProperties","ParseProperties"],[198,0,1,"ParseTiles","ParseTiles"],[199,0,1,"ParseObjects","ParseObjects"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("CSharpClass:TiledCSPlus.TiledTileset","TiledTileset");NDSummary.OnSummaryLoaded("CSharpClass:TiledCSPlus.TiledTileset",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"],["Properties","Property"]],[[5,0,0,"TiledCSPlus.​TiledTileset"],[6,0,2,"Properties","Properties"],[7,0,3,"TiledVersion","TiledVersion"],[8,0,3,"TilesetVersion","TilesetVersion"],[9,0,3,"Name","Name"],[10,0,3,"Class","Class"],[11,0,3,"TileWidth","TileWidth"],[12,0,3,"TileHeight","TileHeight"],[13,0,3,"TileCount","TileCount"],[14,0,3,"Columns","Columns"],[15,0,3,"Image","Image"],[16,0,3,"Spacing","Spacing"],[17,0,3,"Margin","Margin"],[18,0,3,"Tiles","Tiles"],[19,0,3,"Properties","Properties(2)"],[20,0,3,"Offset","Offset"],[21,0,3,"TerrainSets","TerrainSets"],[22,0,2,"Functions","Functions"],[23,0,1,"TiledTileset","TiledTileset"],[24,0,1,"TiledTileset","TiledTileset(2)"],[25,0,1,"TiledTileset","TiledTileset(3)"],[26,0,1,"ParseXml","ParseXml"]]); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTileset-SummaryToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTileset-SummaryToolTips.js index 74553ce..73f969e 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTileset-SummaryToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledTileset-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledTileset",{173:"
public
TiledCSPlus.​TiledTileset
Represents a Tiled tileset
",175:"
public string TiledVersion {
get;
set
}
The Tiled version used to create this tileset
",176:"
public string TilesetVersion {
get;
set
}
The Tiled version this tileset is compatible with
",177:"
public string Name {
get;
set
}
The tileset name
",178:"
public string Class {
get;
set
}
The tileset class
",179:"
public int TileWidth {
get;
set
}
The tile width in pixels
",180:"
public int TileHeight {
get;
set
}
The tile height in pixels
",181:"
public int TileCount {
get;
set
}
The total amount of tiles
",182:"
public int Columns {
get;
set
}
The amount of horizontal tiles
",183:"
public TiledImage Image {
get;
set
}
The image definition used by the tileset
",184:"
public int Spacing {
get;
set
}
The amount of spacing between the tiles in pixels
",185:"
public int Margin {
get;
set
}
The amount of margin between the tiles in pixels
",186:"
public TiledTile[] Tiles {
get;
set
}
An array of tile definitions
",187:"
public TiledProperty[] Properties {
get;
set
}
An array of tileset properties
",188:"
public Vector2 Offset {
get;
set
}
The tile offset in pixels
",190:"
public TiledTileset()
Returns an empty instance of TiledTileset
",191:"
public TiledTileset(
string 
path
)
Loads a tileset in TSX format and parses it
",192:"
public TiledTileset(
Stream 
stream
)
Loads a tileset in TSX format and parses it
",193:"
public void ParseXml(
string 
xml
)
Can be used to parse the content of a TSX tileset manually instead of loading it using the constructor
",194:"
private Vector2 ParseOffset(
XmlNode 
node
)
",195:"
private TiledImage ParseImage(
XmlNode 
node
)
",196:"
private TiledTileAnimation[] ParseAnimations(
XmlNodeList 
nodeList
)
",197:"
private TiledProperty[] ParseProperties(
XmlNodeList 
nodeList
)
",198:"
private TiledTile[] ParseTiles(
XmlNodeList 
nodeList
)
",199:"
private TiledObject[] ParseObjects(
XmlNodeList 
nodeList
)
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("CSharpClass:TiledCSPlus.TiledTileset",{5:"
public
TiledCSPlus.​TiledTileset
Represents a Tiled tileset
",7:"
public string TiledVersion {
get;
internal 
set
}
The Tiled version used to create this tileset
",8:"
public string TilesetVersion {
get;
internal 
set
}
The Tiled version this tileset is compatible with
",9:"
public string Name {
get;
internal 
set
}
The tileset name
",10:"
public string Class {
get;
internal 
set
}
The tileset class
",11:"
public int TileWidth {
get;
internal 
set
}
The tile width in pixels
",12:"
public int TileHeight {
get;
internal 
set
}
The tile height in pixels
",13:"
public int TileCount {
get;
internal 
set
}
The total amount of tiles
",14:"
public int Columns {
get;
internal 
set
}
The amount of horizontal tiles
",15:"
public TiledImage Image {
get;
internal 
set
}
The image definition used by the tileset
",16:"
public int Spacing {
get;
internal 
set
}
The amount of spacing between the tiles in pixels
",17:"
public int Margin {
get;
internal 
set
}
The amount of margin between the tiles in pixels
",18:"
public TiledTile[] Tiles {
get;
internal 
set
}
An array of tile definitions
",19:"
public TiledProperty[] Properties {
get;
internal 
set
}
An array of tileset properties
",20:"
public Vector2 Offset {
get;
internal 
set
}
The tile offset in pixels
",21:"
public TiledTerrainSet[] TerrainSets {
get;
internal 
set
}
An array of terrain sets
",23:"
internal TiledTileset()
Returns an empty instance of TiledTileset
",24:"
public TiledTileset(
string 
path
)
Loads a tileset in TSX format and parses it
",25:"
public TiledTileset(
Stream 
stream
)
Loads a tileset in TSX format and parses it
",26:"
public void ParseXml(
string 
xml
)
Can be used to parse the content of a TSX tileset manually instead of loading it using the constructor
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTileset-ToolTips.js b/docs/classes/CSharp/TiledCSPlus/TiledTileset-ToolTips.js index 183210d..fe979ec 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTileset-ToolTips.js +++ b/docs/classes/CSharp/TiledCSPlus/TiledTileset-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({1:"
public
TiledCSPlus.​TiledException
Represents an exception only thrown by TiledCS
",84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",111:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",130:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",139:"
public
TiledCSPlus.​TiledImage
Represents an image
",145:"
public
TiledCSPlus.​TiledTileAnimation
Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({1:"
public
TiledCSPlus.​TiledException
Represents an exception only thrown by TiledCS
",49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",95:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",104:"
public
TiledCSPlus.​TiledImage
Represents an image
",138:"
public
TiledCSPlus.​TiledTerrainSet
Represents terrain set
"}); \ No newline at end of file diff --git a/docs/classes/CSharp/TiledCSPlus/TiledTileset.html b/docs/classes/CSharp/TiledCSPlus/TiledTileset.html index a94ef1e..a5b13c0 100644 --- a/docs/classes/CSharp/TiledCSPlus/TiledTileset.html +++ b/docs/classes/CSharp/TiledCSPlus/TiledTileset.html @@ -10,156 +10,132 @@ -
+
TiledCSPlus.​TiledTileset
-
public
TiledCSPlus.​TiledTileset
+
public
TiledCSPlus.​TiledTileset

Represents a Tiled tileset

-
+
Properties
-
+
TiledVersion
-
public string TiledVersion {
get;
set
}
+
public string TiledVersion {
get;
internal 
set
}

The Tiled version used to create this tileset

-
+
TilesetVersion
-
public string TilesetVersion {
get;
set
}
+
public string TilesetVersion {
get;
internal 
set
}

The Tiled version this tileset is compatible with

-
+
Name
-
public string Name {
get;
set
}
+
public string Name {
get;
internal 
set
}

The tileset name

-
+
Class
-
public string Class {
get;
set
}
+
public string Class {
get;
internal 
set
}

The tileset class

-
+
TileWidth
-
public int TileWidth {
get;
set
}
+
public int TileWidth {
get;
internal 
set
}

The tile width in pixels

-
+
TileHeight
-
public int TileHeight {
get;
set
}
+
public int TileHeight {
get;
internal 
set
}

The tile height in pixels

-
+
TileCount
-
public int TileCount {
get;
set
}
+
public int TileCount {
get;
internal 
set
}

The total amount of tiles

-
+
Columns
-
public int Columns {
get;
set
}
+
public int Columns {
get;
internal 
set
}

The amount of horizontal tiles

-
+
Image
-
public TiledImage Image {
get;
set
}
+
public TiledImage Image {
get;
internal 
set
}

The image definition used by the tileset

-
+
Spacing
-
public int Spacing {
get;
set
}
+
public int Spacing {
get;
internal 
set
}

The amount of spacing between the tiles in pixels

-
+
Margin
-
public int Margin {
get;
set
}
+
public int Margin {
get;
internal 
set
}

The amount of margin between the tiles in pixels

-
+
Tiles
-
public TiledTile[] Tiles {
get;
set
}
+
public TiledTile[] Tiles {
get;
internal 
set
}

An array of tile definitions

Not all tiles within a tileset have definitions. Only those with properties, animations, terrains, ...

-
+
Properties
-
public TiledProperty[] Properties {
get;
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

An array of tileset properties

-
+
Offset
-
public Vector2 Offset {
get;
set
}
+
public Vector2 Offset {
get;
internal 
set
}

The tile offset in pixels

-
+
+
TerrainSets
+
public TiledTerrainSet[] TerrainSets {
get;
internal 
set
}
+

An array of terrain sets

+
+ +
Functions
-
+
TiledTileset
-
public TiledTileset()
+
internal TiledTileset()

Returns an empty instance of TiledTileset

-
+
TiledTileset
-
public TiledTileset(
string 
path
)
+
public TiledTileset(
string 
path
)

Loads a tileset in TSX format and parses it

Parameter
path
string

The file path of the TSX file

Exceptions
TiledException

Thrown when the file could not be found or parsed

-
+
TiledTileset
-
public TiledTileset(
Stream 
stream
)
+
public TiledTileset(
Stream 
stream
)

Loads a tileset in TSX format and parses it

Parameter
stream
Stream

The file stream of the TSX file

Exceptions
TiledException

Thrown when the file could not be parsed

-
+
ParseXml
-
public void ParseXml(
string 
xml
)
+
public void ParseXml(
string 
xml
)

Can be used to parse the content of a TSX tileset manually instead of loading it using the constructor

Parameter
xml
string

The tmx file content as string

Exceptions
-
-
ParseOffset
-
private Vector2 ParseOffset(
XmlNode 
node
)
-
- -
-
ParseImage
-
private TiledImage ParseImage(
XmlNode 
node
)
-
- -
-
ParseAnimations
-
private TiledTileAnimation[] ParseAnimations(
XmlNodeList 
nodeList
)
-
- -
-
ParseProperties
-
private TiledProperty[] ParseProperties(
XmlNodeList 
nodeList
)
-
- -
-
ParseTiles
-
private TiledTile[] ParseTiles(
XmlNodeList 
nodeList
)
-
- -
-
ParseObjects
-
private TiledObject[] ParseObjects(
XmlNodeList 
nodeList
)
-
- \ No newline at end of file diff --git a/docs/files/Enums-cs-Summary.js b/docs/files/Enums-cs-Summary.js index 9e4619a..acbb2ca 100644 --- a/docs/files/Enums-cs-Summary.js +++ b/docs/files/Enums-cs-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("File:Enums.cs","Enums.cs");NDSummary.OnSummaryLoaded("File:Enums.cs",[["C#","CSharp"]],[["Enums","Enumeration"],["Groups","Group"]],[[200,0,1,"Types","TiledCSPlus.Types"],[201,0,0,"TiledLayerType","TiledCSPlus.TiledLayerType"],[202,0,0,"TiledPropertyType","TiledCSPlus.TiledPropertyType"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("File:Enums.cs","Enums.cs");NDSummary.OnSummaryLoaded("File:Enums.cs",[["C#","CSharp"]],[["Enums","Enumeration"],["Groups","Group"]],[[224,0,1,"Types","TiledCSPlus.Types"],[225,0,0,"TiledLayerType","TiledCSPlus.TiledLayerType"],[226,0,0,"TiledPropertyType","TiledCSPlus.TiledPropertyType"],[227,0,0,"TiledTileLayerFormat","TiledCSPlus.TiledTileLayerFormat"],[28,0,0,"TiledTerrainSetType","TiledCSPlus.TiledTerrainSetType"]]); \ No newline at end of file diff --git a/docs/files/Enums-cs-SummaryToolTips.js b/docs/files/Enums-cs-SummaryToolTips.js index 3528bdf..4a5721a 100644 --- a/docs/files/Enums-cs-SummaryToolTips.js +++ b/docs/files/Enums-cs-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("File:Enums.cs",{201:"
public enum TiledLayerType
Represents the layer type
",202:"
public enum TiledPropertyType
Represents property\'s value data type
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("File:Enums.cs",{225:"
public enum TiledLayerType
Represents the layer type
",226:"
public enum TiledPropertyType
Represents property\'s value data type
",227:"
public enum TiledTileLayerFormat
Represents format which tile formats are saved in
",28:"
public enum TiledTerrainSetType
Represents terrain set types
"}); \ No newline at end of file diff --git a/docs/files/Enums-cs.html b/docs/files/Enums-cs.html index fb873c6..e97d57e 100644 --- a/docs/files/Enums-cs.html +++ b/docs/files/Enums-cs.html @@ -10,20 +10,32 @@ -
+
Types
-
+
TiledLayerType
-
public enum TiledLayerType
+
public enum TiledLayerType

Represents the layer type

-
+
TiledPropertyType
-
public enum TiledPropertyType
+
public enum TiledPropertyType

Represents property's value data type

+
+
TiledTileLayerFormat
+
public enum TiledTileLayerFormat
+

Represents format which tile formats are saved in

+
+ +
+
TiledTerrainSetType
+
public enum TiledTerrainSetType
+

Represents terrain set types

+
+ \ No newline at end of file diff --git a/docs/files/Extensions-cs-Summary.js b/docs/files/Extensions-cs-Summary.js index 61b79e7..b5342bb 100644 --- a/docs/files/Extensions-cs-Summary.js +++ b/docs/files/Extensions-cs-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("File:Extensions.cs","Extensions.cs");NDSummary.OnSummaryLoaded("File:Extensions.cs",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"]],[[59,0,0,"TiledCSPlus.​Extensions","TiledCSPlus.Extensions"],[60,0,2,"Functions","TiledCSPlus.Extensions.Functions"],[61,0,1,"AsIntArray","TiledCSPlus.Extensions.AsIntArray"],[62,0,1,"AsIntArray","TiledCSPlus.Extensions.AsIntArray(2)"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("File:Extensions.cs","Extensions.cs");NDSummary.OnSummaryLoaded("File:Extensions.cs",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"]],[[165,0,0,"TiledCSPlus.​Extensions","TiledCSPlus.Extensions"],[166,0,2,"Functions","TiledCSPlus.Extensions.Functions"],[167,0,1,"AsIntArray","TiledCSPlus.Extensions.AsIntArray"],[168,0,1,"AsIntArray","TiledCSPlus.Extensions.AsIntArray(2)"]]); \ No newline at end of file diff --git a/docs/files/Extensions-cs-SummaryToolTips.js b/docs/files/Extensions-cs-SummaryToolTips.js index 4087dec..127828a 100644 --- a/docs/files/Extensions-cs-SummaryToolTips.js +++ b/docs/files/Extensions-cs-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("File:Extensions.cs",{59:"
public static
TiledCSPlus.​Extensions
Defines all extension methods used within TiledCS
",61:"
public static int[] AsIntArray(
this 
string 
src
)
Converts a comma separated string to an int array
",62:"
public static int[] AsIntArray(
this 
string[] 
src
)
Converts a string array whose values are actually all numbers to an int array
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("File:Extensions.cs",{165:"
public static
TiledCSPlus.​Extensions
Defines all extension methods used within TiledCS
",167:"
public static int[] AsIntArray(
this 
string 
src
)
Converts a comma separated string to an int array
",168:"
public static int[] AsIntArray(
this 
string[] 
src
)
Converts a string array whose values are actually all numbers to an int array
"}); \ No newline at end of file diff --git a/docs/files/Extensions-cs.html b/docs/files/Extensions-cs.html index cf419b9..c7bfc90 100644 --- a/docs/files/Extensions-cs.html +++ b/docs/files/Extensions-cs.html @@ -10,25 +10,25 @@ -
+
TiledCSPlus.​Extensions
-
public static
TiledCSPlus.​Extensions
+
public static
TiledCSPlus.​Extensions

Defines all extension methods used within TiledCS

-
+
Functions
-
+
AsIntArray
-
public static int[] AsIntArray(
this 
string 
src
)
+
public static int[] AsIntArray(
this 
string 
src
)

Converts a comma separated string to an int array

Parameter
src
this string

The comma separated string source

Returns

The parsed int array

-
+
AsIntArray
-
public static int[] AsIntArray(
this 
string[] 
src
)
+
public static int[] AsIntArray(
this 
string[] 
src
)

Converts a string array whose values are actually all numbers to an int array

Parameter
src
this string[]

The string array

Returns

The parsed int array

diff --git a/docs/files/TiledMap-cs-Summary.js b/docs/files/TiledMap-cs-Summary.js index 5366c9a..71db8a0 100644 --- a/docs/files/TiledMap-cs-Summary.js +++ b/docs/files/TiledMap-cs-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("File:TiledMap.cs","TiledMap.cs");NDSummary.OnSummaryLoaded("File:TiledMap.cs",[["C#","CSharp"]],[["Classes","Class"],["Constants","Constant"],["Functions","Function"],["Groups","Group"],["Properties","Property"]],[[5,0,0,"TiledCSPlus.​TiledMap","TiledCSPlus.TiledMap"],[6,0,3,"Constants","TiledCSPlus.TiledMap.Constants"],[7,0,1,"FLIPPED_HORIZONTALLY_FLAG","TiledCSPlus.TiledMap.FLIPPED_HORIZONTALLY_FLAG"],[8,0,1,"FLIPPED_VERTICALLY_FLAG","TiledCSPlus.TiledMap.FLIPPED_VERTICALLY_FLAG"],[9,0,1,"FLIPPED_DIAGONALLY_FLAG","TiledCSPlus.TiledMap.FLIPPED_DIAGONALLY_FLAG"],[10,0,1,"SHIFT_FLIP_FLAG_TO_BYTE","TiledCSPlus.TiledMap.SHIFT_FLIP_FLAG_TO_BYTE"],[11,0,3,"Properties","TiledCSPlus.TiledMap.Properties"],[12,0,4,"TiledVersion","TiledCSPlus.TiledMap.TiledVersion"],[13,0,4,"MapVersion","TiledCSPlus.TiledMap.MapVersion"],[14,0,4,"Properties","TiledCSPlus.TiledMap.Properties(2)"],[15,0,4,"Tilesets","TiledCSPlus.TiledMap.Tilesets"],[16,0,4,"Layers","TiledCSPlus.TiledMap.Layers"],[17,0,4,"Groups","TiledCSPlus.TiledMap.Groups"],[18,0,4,"Orientation","TiledCSPlus.TiledMap.Orientation"],[19,0,4,"RenderOrder","TiledCSPlus.TiledMap.RenderOrder"],[20,0,4,"Width","TiledCSPlus.TiledMap.Width"],[21,0,4,"Height","TiledCSPlus.TiledMap.Height"],[22,0,4,"TileWidth","TiledCSPlus.TiledMap.TileWidth"],[23,0,4,"TileHeight","TiledCSPlus.TiledMap.TileHeight"],[24,0,4,"ParallaxOriginX","TiledCSPlus.TiledMap.ParallaxOriginX"],[25,0,4,"ParallaxOriginY","TiledCSPlus.TiledMap.ParallaxOriginY"],[26,0,4,"Infinite","TiledCSPlus.TiledMap.Infinite"],[27,0,4,"BackgroundColor","TiledCSPlus.TiledMap.BackgroundColor"],[28,0,4,"EmbeddedTilesets","TiledCSPlus.TiledMap.EmbeddedTilesets"],[29,0,3,"Functions","TiledCSPlus.TiledMap.Functions"],[30,0,2,"TiledMap","TiledCSPlus.TiledMap.TiledMap"],[31,0,2,"TiledMap","TiledCSPlus.TiledMap.TiledMap(2)"],[32,0,2,"TiledMap","TiledCSPlus.TiledMap.TiledMap(3)"],[33,0,2,"ParseXml","TiledCSPlus.TiledMap.ParseXml"],[34,0,2,"ParseProperties","TiledCSPlus.TiledMap.ParseProperties"],[35,0,2,"ParseTilesets","TiledCSPlus.TiledMap.ParseTilesets"],[36,0,2,"ParseGroups","TiledCSPlus.TiledMap.ParseGroups"],[37,0,2,"ParseLayers","TiledCSPlus.TiledMap.ParseLayers"],[38,0,2,"ParseLayer","TiledCSPlus.TiledMap.ParseLayer"],[39,0,2,"ParseTileLayerData","TiledCSPlus.TiledMap.ParseTileLayerData"],[40,0,2,"ParseTileLayerDataAsBase64","TiledCSPlus.TiledMap.ParseTileLayerDataAsBase64"],[41,0,2,"ParseTileLayerDataAsCSV","TiledCSPlus.TiledMap.ParseTileLayerDataAsCSV"],[42,0,2,"ParseImage","TiledCSPlus.TiledMap.ParseImage"],[43,0,2,"ParseObjects","TiledCSPlus.TiledMap.ParseObjects"],[44,0,2,"ParseObjectGid","TiledCSPlus.TiledMap.ParseObjectGid"],[45,0,2,"ParseColor","TiledCSPlus.TiledMap.ParseColor"],[46,0,2,"GetTiledMapTileset","TiledCSPlus.TiledMap.GetTiledMapTileset"],[47,0,2,"GetTiledTilesets","TiledCSPlus.TiledMap.GetTiledTilesets"],[48,0,2,"GetTiledTile","TiledCSPlus.TiledMap.GetTiledTile"],[49,0,2,"GetSourceRect","TiledCSPlus.TiledMap.GetSourceRect"],[50,0,2,"IsTileFlippedHorizontal","TiledCSPlus.TiledMap.IsTileFlippedHorizontal"],[51,0,2,"IsTileFlippedHorizontal","TiledCSPlus.TiledMap.IsTileFlippedHorizontal(2)"],[52,0,2,"IsTileFlippedHorizontal","TiledCSPlus.TiledMap.IsTileFlippedHorizontal(3)"],[53,0,2,"IsTileFlippedVertical","TiledCSPlus.TiledMap.IsTileFlippedVertical"],[54,0,2,"IsTileFlippedVertical","TiledCSPlus.TiledMap.IsTileFlippedVertical(2)"],[55,0,2,"IsTileFlippedVertical","TiledCSPlus.TiledMap.IsTileFlippedVertical(3)"],[56,0,2,"IsTileFlippedDiagonal","TiledCSPlus.TiledMap.IsTileFlippedDiagonal"],[57,0,2,"IsTileFlippedDiagonal","TiledCSPlus.TiledMap.IsTileFlippedDiagonal(2)"],[58,0,2,"IsTileFlippedDiagonal","TiledCSPlus.TiledMap.IsTileFlippedDiagonal(3)"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("File:TiledMap.cs","TiledMap.cs");NDSummary.OnSummaryLoaded("File:TiledMap.cs",[["C#","CSharp"]],[["Classes","Class"],["Constants","Constant"],["Functions","Function"],["Groups","Group"],["Properties","Property"]],[[169,0,0,"TiledCSPlus.​TiledMap","TiledCSPlus.TiledMap"],[170,0,3,"Constants","TiledCSPlus.TiledMap.Constants"],[174,0,1,"SHIFT_FLIP_FLAG_TO_BYTE","TiledCSPlus.TiledMap.SHIFT_FLIP_FLAG_TO_BYTE"],[175,0,3,"Properties","TiledCSPlus.TiledMap.Properties"],[176,0,4,"TiledVersion","TiledCSPlus.TiledMap.TiledVersion"],[177,0,4,"MapVersion","TiledCSPlus.TiledMap.MapVersion"],[178,0,4,"Properties","TiledCSPlus.TiledMap.Properties(2)"],[179,0,4,"Tilesets","TiledCSPlus.TiledMap.Tilesets"],[180,0,4,"Layers","TiledCSPlus.TiledMap.Layers"],[181,0,4,"Groups","TiledCSPlus.TiledMap.Groups"],[182,0,4,"Orientation","TiledCSPlus.TiledMap.Orientation"],[183,0,4,"RenderOrder","TiledCSPlus.TiledMap.RenderOrder"],[184,0,4,"Width","TiledCSPlus.TiledMap.Width"],[185,0,4,"Height","TiledCSPlus.TiledMap.Height"],[186,0,4,"TileWidth","TiledCSPlus.TiledMap.TileWidth"],[187,0,4,"TileHeight","TiledCSPlus.TiledMap.TileHeight"],[188,0,4,"ParallaxOriginX","TiledCSPlus.TiledMap.ParallaxOriginX"],[189,0,4,"ParallaxOriginY","TiledCSPlus.TiledMap.ParallaxOriginY"],[190,0,4,"Infinite","TiledCSPlus.TiledMap.Infinite"],[191,0,4,"BackgroundColor","TiledCSPlus.TiledMap.BackgroundColor"],[192,0,4,"EmbeddedTilesets","TiledCSPlus.TiledMap.EmbeddedTilesets"],[193,0,4,"TileLayerFormat","TiledCSPlus.TiledMap.TileLayerFormat"],[194,0,3,"Functions","TiledCSPlus.TiledMap.Functions"],[27,0,2,"TiledMap","TiledCSPlus.TiledMap.TiledMap"],[196,0,2,"TiledMap","TiledCSPlus.TiledMap.TiledMap(2)"],[197,0,2,"TiledMap","TiledCSPlus.TiledMap.TiledMap(3)"],[198,0,2,"ParseXml","TiledCSPlus.TiledMap.ParseXml"],[211,0,2,"GetTiledMapTileset","TiledCSPlus.TiledMap.GetTiledMapTileset"],[212,0,2,"GetTiledTilesets","TiledCSPlus.TiledMap.GetTiledTilesets"],[213,0,2,"GetTiledTile","TiledCSPlus.TiledMap.GetTiledTile"],[214,0,2,"GetSourceRect","TiledCSPlus.TiledMap.GetSourceRect"],[215,0,2,"IsTileFlippedHorizontal","TiledCSPlus.TiledMap.IsTileFlippedHorizontal"],[216,0,2,"IsTileFlippedHorizontal","TiledCSPlus.TiledMap.IsTileFlippedHorizontal(2)"],[217,0,2,"IsTileFlippedHorizontal","TiledCSPlus.TiledMap.IsTileFlippedHorizontal(3)"],[218,0,2,"IsTileFlippedVertical","TiledCSPlus.TiledMap.IsTileFlippedVertical"],[219,0,2,"IsTileFlippedVertical","TiledCSPlus.TiledMap.IsTileFlippedVertical(2)"],[220,0,2,"IsTileFlippedVertical","TiledCSPlus.TiledMap.IsTileFlippedVertical(3)"],[221,0,2,"IsTileFlippedDiagonal","TiledCSPlus.TiledMap.IsTileFlippedDiagonal"],[222,0,2,"IsTileFlippedDiagonal","TiledCSPlus.TiledMap.IsTileFlippedDiagonal(2)"],[223,0,2,"IsTileFlippedDiagonal","TiledCSPlus.TiledMap.IsTileFlippedDiagonal(3)"]]); \ No newline at end of file diff --git a/docs/files/TiledMap-cs-SummaryToolTips.js b/docs/files/TiledMap-cs-SummaryToolTips.js index 9b6d4bf..379259e 100644 --- a/docs/files/TiledMap-cs-SummaryToolTips.js +++ b/docs/files/TiledMap-cs-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("File:TiledMap.cs",{5:"
public
TiledCSPlus.​TiledMap
Represents a Tiled map
",7:"
const uint FLIPPED_HORIZONTALLY_FLAG
",8:"
const uint FLIPPED_VERTICALLY_FLAG
",9:"
const uint FLIPPED_DIAGONALLY_FLAG
",10:"
const int SHIFT_FLIP_FLAG_TO_BYTE
How many times we shift the FLIPPED flags to the right in order to store it in a byte.  For example: 0b10100000000000000000000000000000 >> SHIFT_FLIP_FLAG_TO_BYTE = 0b00000101
",12:"
public string TiledVersion {
get;
internal 
set
}
Returns the Tiled version used to create this map
",13:"
public string MapVersion {
get;
internal 
set
}
Returns map compability mode this map is saved in
",14:"
public TiledProperty[] Properties {
get;
internal 
set
}
Returns an array of properties defined in the map
",15:"
public TiledMapTileset[] Tilesets {
get;
internal 
set
}
Returns an array of tileset definitions in the map
",16:"
public TiledLayer[] Layers {
get;
internal 
set
}
Returns an array of layers or null if none were defined
",17:"
public TiledGroup[] Groups {
get;
internal 
set
}
Returns an array of groups or null if none were defined
",18:"
public string Orientation {
get;
internal 
set
}
Returns the defined map orientation as a string
",19:"
public string RenderOrder {
get;
internal 
set
}
Returns the render order as a string
",20:"
public int Width {
get;
internal 
set
}
The amount of horizontal tiles
",21:"
public int Height {
get;
internal 
set
}
The amount of vertical tiles
",22:"
public int TileWidth {
get;
internal 
set
}
The tile width in pixels
",23:"
public int TileHeight {
get;
internal 
set
}
The tile height in pixels
",24:"
public float ParallaxOriginX {
get;
internal 
set
}
The parallax origin x
",25:"
public float ParallaxOriginY {
get;
internal 
set
}
The parallax origin y
",26:"
public bool Infinite {
get;
internal 
set
}
Returns true if the map is configured as infinite
",27:"
public Color BackgroundColor {
get;
internal 
set
}
Returns the defined map background color as a TiledColor
",28:"
public Dictionary<int, TiledTileset> EmbeddedTilesets {
get;
internal 
set
}
Returns tilesets embedded in the map
",30:"
public TiledMap()
Returns an empty instance of TiledMap
",31:"
public TiledMap(
string 
path
)
Loads a Tiled map in TMX format and parses it
",32:"
public TiledMap(
Stream 
stream
)
Loads a Tiled map in TMX format and parses it
",33:"
public void ParseXml(
string 
xml
)
Can be used to parse the content of a TMX map manually instead of loading it using the constructor
",34:"
private TiledProperty[] ParseProperties(
XmlNodeList 
nodeList
)
",35:"
private TiledMapTileset[] ParseTilesets(
XmlNodeList 
nodeList
)
",36:"
private TiledGroup[] ParseGroups(
XmlNodeList 
nodeListGroups
)
",37:"
private TiledLayer[] ParseLayers(
XmlNodeList 
nodesLayer
)
",38:"
private TiledLayer ParseLayer(
XmlNode 
node,
TiledLayerType 
type
)
",39:"
private void ParseTileLayerData(
XmlNode 
nodeData,
ref 
TiledLayer 
tiledLayer
)
",40:"
private void ParseTileLayerDataAsBase64(
string 
input,
string 
compression,
out 
int[] 
data,
out 
byte[] 
dataRotationFlags
)
",41:"
private void ParseTileLayerDataAsCSV(
string 
input,
out 
int[] 
data,
out 
byte[] 
dataRotationFlags
)
",42:"
private TiledImage ParseImage(
XmlNode 
node
)
",43:"
private TiledObject[] ParseObjects(
XmlNodeList 
nodeList
)
",44:"
private void ParseObjectGid(
ref 
TiledObject 
tiledObject,
String 
gid
)
",45:"
private Color ParseColor(
string 
hexColor
)
",46:"
public TiledMapTileset GetTiledMapTileset(
int 
gid
)
Locates the right TiledMapTileset object for you within the Tilesets array
",47:"
public Dictionary<int, TiledTileset> GetTiledTilesets(
string 
src
)
Loads external tilesets and matches them to firstGids from elements within the Tilesets array
",48:"
public TiledTile GetTiledTile(
TiledMapTileset 
mapTileset,
TiledTileset 
tileset,
int 
gid
)
Locates a specific TiledTile object
",49:"
public TiledSourceRect GetSourceRect(
TiledMapTileset 
mapTileset,
TiledTileset 
tileset,
int 
gid
)
This method can be used to figure out the source rect on a Tileset image for rendering tiles.
",50:"
public bool IsTileFlippedHorizontal(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped horizontally
",51:"
public bool IsTileFlippedHorizontal(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped horizontally
",52:"
public bool IsTileFlippedHorizontal(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped horizontally
",53:"
public bool IsTileFlippedVertical(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped vertically
",54:"
public bool IsTileFlippedVertical(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped vertically
",55:"
public bool IsTileFlippedVertical(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped vertically
",56:"
public bool IsTileFlippedDiagonal(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped diagonally
",57:"
public bool IsTileFlippedDiagonal(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped diagonally
",58:"
public bool IsTileFlippedDiagonal(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped diagonally
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("File:TiledMap.cs",{169:"
public
TiledCSPlus.​TiledMap
Represents a Tiled map
",174:"
const int SHIFT_FLIP_FLAG_TO_BYTE
How many times we shift the FLIPPED flags to the right in order to store it in a byte.  For example: 0b10100000000000000000000000000000 >> SHIFT_FLIP_FLAG_TO_BYTE = 0b00000101
",176:"
public string TiledVersion {
get;
internal 
set
}
Returns the Tiled version used to create this map
",177:"
public string MapVersion {
get;
internal 
set
}
Returns map compability mode this map is saved in
",178:"
public TiledProperty[] Properties {
get;
internal 
set
}
Returns an array of properties defined in the map
",179:"
public TiledMapTileset[] Tilesets {
get;
internal 
set
}
Returns an array of tileset definitions in the map
",180:"
public TiledLayer[] Layers {
get;
internal 
set
}
Returns an array of layers or null if none were defined
",181:"
public TiledGroup[] Groups {
get;
internal 
set
}
Returns an array of groups or null if none were defined
",182:"
public string Orientation {
get;
internal 
set
}
Returns the defined map orientation as a string
",183:"
public string RenderOrder {
get;
internal 
set
}
Returns the render order as a string
",184:"
public int Width {
get;
internal 
set
}
The amount of horizontal tiles
",185:"
public int Height {
get;
internal 
set
}
The amount of vertical tiles
",186:"
public int TileWidth {
get;
internal 
set
}
The tile width in pixels
",187:"
public int TileHeight {
get;
internal 
set
}
The tile height in pixels
",188:"
public float ParallaxOriginX {
get;
internal 
set
}
The parallax origin x
",189:"
public float ParallaxOriginY {
get;
internal 
set
}
The parallax origin y
",190:"
public bool Infinite {
get;
internal 
set
}
Returns true if the map is configured as infinite
",191:"
public Color BackgroundColor {
get;
internal 
set
}
Returns the defined map background color as a TiledColor
",192:"
public Dictionary<int, TiledTileset> EmbeddedTilesets {
get;
internal 
set
}
Returns tilesets embedded in the map
",193:"
public TiledTileLayerFormat TileLayerFormat {
get;
internal 
set
}
Returns tile layer format map uses
",27:"
public TiledMap()
Returns an empty instance of TiledMap
",196:"
public TiledMap(
string 
path
)
Loads a Tiled map and parses it
",197:"
public TiledMap(
Stream 
stream
)
Loads a Tiled map in TMX format and parses it
",198:"
public void ParseXml(
string 
xml
)
Can be used to parse the content of a TMX map manually instead of loading it using the constructor
",211:"
public TiledMapTileset GetTiledMapTileset(
int 
gid
)
Locates the right TiledMapTileset object for you within the Tilesets array
",212:"
public Dictionary<int, TiledTileset> GetTiledTilesets(
string 
src
)
Loads external tilesets and matches them to firstGids from elements within the Tilesets array
",213:"
public TiledTile GetTiledTile(
TiledMapTileset 
mapTileset,
TiledTileset 
tileset,
int 
gid
)
Locates a specific TiledTile object
",214:"
public TiledSourceRect GetSourceRect(
TiledMapTileset 
mapTileset,
TiledTileset 
tileset,
int 
gid
)
This method can be used to figure out the source rect on a Tileset image for rendering tiles.
",215:"
public bool IsTileFlippedHorizontal(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped horizontally
",216:"
public bool IsTileFlippedHorizontal(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped horizontally
",217:"
public bool IsTileFlippedHorizontal(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped horizontally
",218:"
public bool IsTileFlippedVertical(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped vertically
",219:"
public bool IsTileFlippedVertical(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped vertically
",220:"
public bool IsTileFlippedVertical(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped vertically
",221:"
public bool IsTileFlippedDiagonal(
TiledLayer 
layer,
int 
tileHor,
int 
tileVert
)
Checks is a tile is flipped diagonally
",222:"
public bool IsTileFlippedDiagonal(
TiledLayer 
layer,
int 
dataIndex
)
Checks is a tile is flipped diagonally
",223:"
public bool IsTileFlippedDiagonal(
TiledObject 
tiledObject
)
Checks is a tile linked to an object is flipped diagonally
"}); \ No newline at end of file diff --git a/docs/files/TiledMap-cs-ToolTips.js b/docs/files/TiledMap-cs-ToolTips.js index 43a186d..29b9447 100644 --- a/docs/files/TiledMap-cs-ToolTips.js +++ b/docs/files/TiledMap-cs-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({1:"
public
TiledCSPlus.​TiledException
Represents an exception only thrown by TiledCS
",70:"
public
TiledCSPlus.​Color
Represents a color in RGBA format
",79:"
public
TiledCSPlus.​TiledMapTileset
Represents an element within the Tilesets array of a TiledMap object
",84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",89:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",111:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",130:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",139:"
public
TiledCSPlus.​TiledImage
Represents an image
",149:"
public
TiledCSPlus.​TiledSourceRect
Used as data type for the GetSourceRect method. Represents basically a rectangle.
",155:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
",173:"
public
TiledCSPlus.​TiledTileset
Represents a Tiled tileset
",201:"
public enum TiledLayerType
Represents the layer type
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({1:"
public
TiledCSPlus.​TiledException
Represents an exception only thrown by TiledCS
",5:"
public
TiledCSPlus.​TiledTileset
Represents a Tiled tileset
",44:"
public
TiledCSPlus.​TiledMapTileset
Represents an element within the Tilesets array of a TiledMap object
",49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",54:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",76:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",95:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",114:"
public
TiledCSPlus.​TiledSourceRect
Used as data type for the GetSourceRect method. Represents basically a rectangle.
",120:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
",227:"
public enum TiledTileLayerFormat
Represents format which tile formats are saved in
"}); \ No newline at end of file diff --git a/docs/files/TiledMap-cs.html b/docs/files/TiledMap-cs.html index 369aea5..08397af 100644 --- a/docs/files/TiledMap-cs.html +++ b/docs/files/TiledMap-cs.html @@ -10,307 +10,238 @@ -
+
TiledCSPlus.​TiledMap
-
public
TiledCSPlus.​TiledMap
+
public
TiledCSPlus.​TiledMap

Represents a Tiled map

-
+
Constants
-
-
FLIPPED_HORIZONTALLY_FLAG
-
const uint FLIPPED_HORIZONTALLY_FLAG
-
- -
-
FLIPPED_VERTICALLY_FLAG
-
const uint FLIPPED_VERTICALLY_FLAG
-
- -
-
FLIPPED_DIAGONALLY_FLAG
-
const uint FLIPPED_DIAGONALLY_FLAG
-
- -
+
SHIFT_FLIP_FLAG_TO_BYTE
-
const int SHIFT_FLIP_FLAG_TO_BYTE
+
const int SHIFT_FLIP_FLAG_TO_BYTE

How many times we shift the FLIPPED flags to the right in order to store it in a byte.  For example: 0b10100000000000000000000000000000 >> SHIFT_FLIP_FLAG_TO_BYTE = 0b00000101

-
+
Properties
-
+
TiledVersion
-
public string TiledVersion {
get;
internal 
set
}
+
public string TiledVersion {
get;
internal 
set
}

Returns the Tiled version used to create this map

-
+
MapVersion
-
public string MapVersion {
get;
internal 
set
}
+
public string MapVersion {
get;
internal 
set
}

Returns map compability mode this map is saved in

-
+
Properties
-
public TiledProperty[] Properties {
get;
internal 
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

Returns an array of properties defined in the map

-
+
Tilesets
-
public TiledMapTileset[] Tilesets {
get;
internal 
set
}
+
public TiledMapTileset[] Tilesets {
get;
internal 
set
}

Returns an array of tileset definitions in the map

-
+
Layers
-
public TiledLayer[] Layers {
get;
internal 
set
}
+
public TiledLayer[] Layers {
get;
internal 
set
}

Returns an array of layers or null if none were defined

-
+
Groups
-
public TiledGroup[] Groups {
get;
internal 
set
}
+
public TiledGroup[] Groups {
get;
internal 
set
}

Returns an array of groups or null if none were defined

-
+
Orientation
-
public string Orientation {
get;
internal 
set
}
+
public string Orientation {
get;
internal 
set
}

Returns the defined map orientation as a string

-
+
RenderOrder
-
public string RenderOrder {
get;
internal 
set
}
+
public string RenderOrder {
get;
internal 
set
}

Returns the render order as a string

-
+
Width
-
public int Width {
get;
internal 
set
}
+
public int Width {
get;
internal 
set
}

The amount of horizontal tiles

-
+
Height
-
public int Height {
get;
internal 
set
}
+
public int Height {
get;
internal 
set
}

The amount of vertical tiles

-
+
TileWidth
-
public int TileWidth {
get;
internal 
set
}
+
public int TileWidth {
get;
internal 
set
}

The tile width in pixels

-
+
TileHeight
-
public int TileHeight {
get;
internal 
set
}
+
public int TileHeight {
get;
internal 
set
}

The tile height in pixels

-
+
ParallaxOriginX
-
public float ParallaxOriginX {
get;
internal 
set
}
+
public float ParallaxOriginX {
get;
internal 
set
}

The parallax origin x

-
+
ParallaxOriginY
-
public float ParallaxOriginY {
get;
internal 
set
}
+
public float ParallaxOriginY {
get;
internal 
set
}

The parallax origin y

-
+
Infinite
-
public bool Infinite {
get;
internal 
set
}
+
public bool Infinite {
get;
internal 
set
}

Returns true if the map is configured as infinite

-
+
BackgroundColor
-
public Color BackgroundColor {
get;
internal 
set
}
+
public Color BackgroundColor {
get;
internal 
set
}

Returns the defined map background color as a TiledColor

-
+
EmbeddedTilesets
-
public Dictionary<int, TiledTileset> EmbeddedTilesets {
get;
internal 
set
}
+
public Dictionary<int, TiledTileset> EmbeddedTilesets {
get;
internal 
set
}

Returns tilesets embedded in the map

-
+
+
TileLayerFormat
+
public TiledTileLayerFormat TileLayerFormat {
get;
internal 
set
}
+

Returns tile layer format map uses

+
+ +
Functions
-
+
TiledMap
-
public TiledMap()
+
public TiledMap()

Returns an empty instance of TiledMap

-
+
TiledMap
-
public TiledMap(
string 
path
)
-

Loads a Tiled map in TMX format and parses it

Parameter
path
string

The path to the tmx file

Exceptions
TiledException

Thrown when the map could not be loaded or is not in a correct format

+
public TiledMap(
string 
path
)
+

Loads a Tiled map and parses it

Parameter
path
string

The path to the map file

Exceptions
TiledException

Thrown when the map could not be loaded or is not in a correct format

-
+
TiledMap
-
public TiledMap(
Stream 
stream
)
+
public TiledMap(
Stream 
stream
)

Loads a Tiled map in TMX format and parses it

Parameter
stream
Stream

Stream of opened tmx file

Exceptions
TiledException

Thrown when the map could not be loaded

-
+
ParseXml
-
public void ParseXml(
string 
xml
)
+
public void ParseXml(
string 
xml
)

Can be used to parse the content of a TMX map manually instead of loading it using the constructor

Parameter
xml
string

The tmx file content as string

Exceptions
-
-
ParseProperties
-
private TiledProperty[] ParseProperties(
XmlNodeList 
nodeList
)
-
- -
-
ParseTilesets
-
private TiledMapTileset[] ParseTilesets(
XmlNodeList 
nodeList
)
-
- -
-
ParseGroups
-
private TiledGroup[] ParseGroups(
XmlNodeList 
nodeListGroups
)
-
- -
-
ParseLayers
-
private TiledLayer[] ParseLayers(
XmlNodeList 
nodesLayer
)
-
- -
-
ParseLayer
-
private TiledLayer ParseLayer(
XmlNode 
node,
type
)
-
- -
-
ParseTileLayerData
-
private void ParseTileLayerData(
XmlNode 
nodeData,
ref 
tiledLayer
)
-
- -
-
ParseTileLayerDataAsBase64
-
private void ParseTileLayerDataAsBase64(
string 
input,
string 
compression,
out 
int[] 
data,
out 
byte[] 
dataRotationFlags
)
-
- -
-
ParseTileLayerDataAsCSV
-
private void ParseTileLayerDataAsCSV(
string 
input,
out 
int[] 
data,
out 
byte[] 
dataRotationFlags
)
-
- -
-
ParseImage
-
private TiledImage ParseImage(
XmlNode 
node
)
-
- -
-
ParseObjects
-
private TiledObject[] ParseObjects(
XmlNodeList 
nodeList
)
-
- -
-
ParseObjectGid
-
private void ParseObjectGid(
ref 
tiledObject,
String 
gid
)
-
- -
-
ParseColor
-
private Color ParseColor(
string 
hexColor
)
-
- -
+
GetTiledMapTileset
-
public TiledMapTileset GetTiledMapTileset(
int 
gid
)
+
public TiledMapTileset GetTiledMapTileset(
int 
gid
)

Locates the right TiledMapTileset object for you within the Tilesets array

Parameter
gid
int

A value from the TiledLayer.data array

Returns

An element within the Tilesets array or null if no match was found

-
+
GetTiledTilesets
-
public Dictionary<int, TiledTileset> GetTiledTilesets(
string 
src
)
+
public Dictionary<int, TiledTileset> GetTiledTilesets(
string 
src
)

Loads external tilesets and matches them to firstGids from elements within the Tilesets array

Parameter
src
string

The folder where the TiledMap file is located

Returns

A dictionary where the key represents the firstGid of the associated TiledMapTileset and the value the TiledTileset object

-
+
GetTiledTile
-
public TiledTile GetTiledTile(
mapTileset,
tileset,
int 
gid
)
-

Locates a specific TiledTile object

Tip: Use the GetTiledMapTileset and GetTiledTilesets methods for retrieving the correct TiledMapTileset and TiledTileset objects

Parameters
mapTileset

An element within the Tilesets array

tileset

An instance of the TiledTileset class

gid
int

An element from within a TiledLayer.data array

Returns

An entry of the TiledTileset.tiles array or null if none of the tile id's matches the gid

+
public TiledTile GetTiledTile(
mapTileset,
tileset,
int 
gid
)
+

Locates a specific TiledTile object

Tip: Use the GetTiledMapTileset and GetTiledTilesets methods for retrieving the correct TiledMapTileset and TiledTileset objects

Parameters
mapTileset

An element within the Tilesets array

tileset

An instance of the TiledTileset class

gid
int

An element from within a TiledLayer.data array

Returns

An entry of the TiledTileset.tiles array or null if none of the tile id's matches the gid

-
+
GetSourceRect
-
public TiledSourceRect GetSourceRect(
mapTileset,
tileset,
int 
gid
)
-

This method can be used to figure out the source rect on a Tileset image for rendering tiles.

Parameters
mapTileset
tileset
gid
int
Returns

An instance of the class TiledSourceRect that represents a rectangle. Returns null if the provided gid was not found within the tileset.

+
public TiledSourceRect GetSourceRect(
mapTileset,
tileset,
int 
gid
)
+

This method can be used to figure out the source rect on a Tileset image for rendering tiles.

Parameters
mapTileset
tileset
gid
int
Returns

An instance of the class TiledSourceRect that represents a rectangle. Returns null if the provided gid was not found within the tileset.

-
+
IsTileFlippedHorizontal
-
public bool IsTileFlippedHorizontal(
layer,
int 
tileHor,
int 
tileVert
)
-

Checks is a tile is flipped horizontally

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped horizontally or False if not

+
public bool IsTileFlippedHorizontal(
layer,
int 
tileHor,
int 
tileVert
)
+

Checks is a tile is flipped horizontally

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped horizontally or False if not

-
+
IsTileFlippedHorizontal
-
public bool IsTileFlippedHorizontal(
layer,
int 
dataIndex
)
-

Checks is a tile is flipped horizontally

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped horizontally or False if not

+
public bool IsTileFlippedHorizontal(
layer,
int 
dataIndex
)
+

Checks is a tile is flipped horizontally

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped horizontally or False if not

-
+
IsTileFlippedHorizontal
-
public bool IsTileFlippedHorizontal(
tiledObject
)
-

Checks is a tile linked to an object is flipped horizontally

Parameter
tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

+
public bool IsTileFlippedHorizontal(
tiledObject
)
+

Checks is a tile linked to an object is flipped horizontally

Parameter
tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

-
+
IsTileFlippedVertical
-
public bool IsTileFlippedVertical(
layer,
int 
tileHor,
int 
tileVert
)
-

Checks is a tile is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped vertically or False if not

+
public bool IsTileFlippedVertical(
layer,
int 
tileHor,
int 
tileVert
)
+

Checks is a tile is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped vertically or False if not

-
+
IsTileFlippedVertical
-
public bool IsTileFlippedVertical(
layer,
int 
dataIndex
)
-

Checks is a tile is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped vertically or False if not

+
public bool IsTileFlippedVertical(
layer,
int 
dataIndex
)
+

Checks is a tile is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped vertically or False if not

-
+
IsTileFlippedVertical
-
public bool IsTileFlippedVertical(
tiledObject
)
-

Checks is a tile linked to an object is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

+
public bool IsTileFlippedVertical(
tiledObject
)
+

Checks is a tile linked to an object is flipped vertically

Parameters
layer

An entry of the TiledMap.layers array

tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

-
+
IsTileFlippedDiagonal
-
public bool IsTileFlippedDiagonal(
layer,
int 
tileHor,
int 
tileVert
)
-

Checks is a tile is flipped diagonally

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped diagonally or False if not

+
public bool IsTileFlippedDiagonal(
layer,
int 
tileHor,
int 
tileVert
)
+

Checks is a tile is flipped diagonally

Parameters
layer

An entry of the TiledMap.layers array

tileHor
int

The tile's horizontal position

tileVert
int

The tile's vertical position

Returns

True if the tile was flipped diagonally or False if not

-
+
IsTileFlippedDiagonal
-
public bool IsTileFlippedDiagonal(
layer,
int 
dataIndex
)
-

Checks is a tile is flipped diagonally

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped diagonally or False if not

+
public bool IsTileFlippedDiagonal(
layer,
int 
dataIndex
)
+

Checks is a tile is flipped diagonally

Parameters
layer

An entry of the TiledMap.layers array

dataIndex
int

An index of the TiledLayer.data array

Returns

True if the tile was flipped diagonally or False if not

-
+
IsTileFlippedDiagonal
-
public bool IsTileFlippedDiagonal(
tiledObject
)
-

Checks is a tile linked to an object is flipped diagonally

Parameter
tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

+
public bool IsTileFlippedDiagonal(
tiledObject
)
+

Checks is a tile linked to an object is flipped diagonally

Parameter
tiledObject

The tiled object

Returns

True if the tile was flipped horizontally or False if not

\ No newline at end of file diff --git a/docs/files/TiledModels-cs-Summary.js b/docs/files/TiledModels-cs-Summary.js index 92c5fc2..cbbbdd9 100644 --- a/docs/files/TiledModels-cs-Summary.js +++ b/docs/files/TiledModels-cs-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("File:TiledModels.cs","TiledModels.cs");NDSummary.OnSummaryLoaded("File:TiledModels.cs",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"],["Properties","Property"],["Variables","Variable"]],[[63,0,0,"TiledCSPlus.​Size","TiledCSPlus.Size"],[64,0,2,"Properties","TiledCSPlus.Size.Properties"],[65,0,3,"Width","TiledCSPlus.Size.Width"],[66,0,3,"Height","TiledCSPlus.Size.Height"],[67,0,2,"Functions","TiledCSPlus.Size.Functions"],[68,0,1,"Size","TiledCSPlus.Size.Size"],[69,0,1,"Equals","TiledCSPlus.Size.Equals"],[70,0,0,"TiledCSPlus.​Color","TiledCSPlus.Color"],[71,0,2,"Properties","TiledCSPlus.Color.Properties"],[72,0,3,"R","TiledCSPlus.Color.R"],[73,0,3,"G","TiledCSPlus.Color.G"],[74,0,3,"B","TiledCSPlus.Color.B"],[75,0,3,"A","TiledCSPlus.Color.A"],[76,0,2,"Functions","TiledCSPlus.Color.Functions"],[77,0,1,"Color","TiledCSPlus.Color.Color"],[78,0,1,"Equals","TiledCSPlus.Color.Equals"],[79,0,0,"TiledCSPlus.​TiledMapTileset","TiledCSPlus.TiledMapTileset"],[80,0,2,"Properties","TiledCSPlus.TiledMapTileset.Properties"],[81,0,3,"FirstGid","TiledCSPlus.TiledMapTileset.FirstGid"],[82,0,3,"IsTilesetEmbedded","TiledCSPlus.TiledMapTileset.IsTilesetEmbedded"],[83,0,3,"Source","TiledCSPlus.TiledMapTileset.Source"],[84,0,0,"TiledCSPlus.​TiledProperty","TiledCSPlus.TiledProperty"],[85,0,2,"Properties","TiledCSPlus.TiledProperty.Properties"],[86,0,3,"Name","TiledCSPlus.TiledProperty.Name"],[87,0,3,"Type","TiledCSPlus.TiledProperty.Type"],[88,0,3,"Value","TiledCSPlus.TiledProperty.Value"],[89,0,0,"TiledCSPlus.​TiledLayer","TiledCSPlus.TiledLayer"],[90,0,2,"Properties","TiledCSPlus.TiledLayer.Properties"],[91,0,3,"Id","TiledCSPlus.TiledLayer.Id"],[92,0,3,"Name","TiledCSPlus.TiledLayer.Name"],[93,0,3,"Width","TiledCSPlus.TiledLayer.Width"],[94,0,3,"Height","TiledCSPlus.TiledLayer.Height"],[95,0,3,"Type","TiledCSPlus.TiledLayer.Type"],[96,0,3,"TintColor","TiledCSPlus.TiledLayer.TintColor"],[97,0,3,"Visible","TiledCSPlus.TiledLayer.Visible"],[98,0,3,"Locked","TiledCSPlus.TiledLayer.Locked"],[99,0,2,"Variables","TiledCSPlus.TiledLayer.Variables"],[100,0,4,"Offset","TiledCSPlus.TiledLayer.Offset"],[101,0,4,"Parrallax","TiledCSPlus.TiledLayer.Parrallax"],[102,0,2,"Properties","TiledCSPlus.TiledLayer.Properties(2)"],[103,0,3,"Opacity","TiledCSPlus.TiledLayer.Opacity"],[104,0,3,"Class","TiledCSPlus.TiledLayer.Class"],[105,0,3,"Data","TiledCSPlus.TiledLayer.Data"],[106,0,3,"DataRotationFlags","TiledCSPlus.TiledLayer.DataRotationFlags"],[107,0,3,"Objects","TiledCSPlus.TiledLayer.Objects"],[108,0,3,"Properties","TiledCSPlus.TiledLayer.Properties(3)"],[109,0,3,"Image","TiledCSPlus.TiledLayer.Image"],[110,0,3,"Chunks","TiledCSPlus.TiledLayer.Chunks"],[111,0,0,"TiledCSPlus.​TiledObject","TiledCSPlus.TiledObject"],[112,0,2,"Properties","TiledCSPlus.TiledObject.Properties"],[113,0,3,"Id","TiledCSPlus.TiledObject.Id"],[114,0,3,"Name","TiledCSPlus.TiledObject.Name"],[115,0,3,"Class","TiledCSPlus.TiledObject.Class"],[116,0,3,"Position","TiledCSPlus.TiledObject.Position"],[117,0,3,"Rotation","TiledCSPlus.TiledObject.Rotation"],[118,0,3,"Size","TiledCSPlus.TiledObject.Size"],[119,0,3,"Gid","TiledCSPlus.TiledObject.Gid"],[120,0,3,"DataRotationFlag","TiledCSPlus.TiledObject.DataRotationFlag"],[121,0,3,"Properties","TiledCSPlus.TiledObject.Properties(2)"],[122,0,3,"Polygon","TiledCSPlus.TiledObject.Polygon"],[123,0,3,"Point","TiledCSPlus.TiledObject.Point"],[124,0,3,"Ellipse","TiledCSPlus.TiledObject.Ellipse"],[125,0,0,"TiledCSPlus.​TiledPolygon","TiledCSPlus.TiledPolygon"],[126,0,2,"Properties","TiledCSPlus.TiledPolygon.Properties"],[127,0,3,"Points","TiledCSPlus.TiledPolygon.Points"],[128,0,0,"TiledCSPlus.​TiledPoint","TiledCSPlus.TiledPoint"],[129,0,0,"TiledCSPlus.​TiledEllipse","TiledCSPlus.TiledEllipse"],[130,0,0,"TiledCSPlus.​TiledTile","TiledCSPlus.TiledTile"],[131,0,2,"Properties","TiledCSPlus.TiledTile.Properties"],[132,0,3,"Id","TiledCSPlus.TiledTile.Id"],[133,0,3,"Class","TiledCSPlus.TiledTile.Class"],[134,0,3,"Terrain","TiledCSPlus.TiledTile.Terrain"],[135,0,3,"Properties","TiledCSPlus.TiledTile.Properties(2)"],[136,0,3,"Animations","TiledCSPlus.TiledTile.Animations"],[137,0,3,"Objects","TiledCSPlus.TiledTile.Objects"],[138,0,3,"Image","TiledCSPlus.TiledTile.Image"],[139,0,0,"TiledCSPlus.​TiledImage","TiledCSPlus.TiledImage"],[140,0,2,"Properties","TiledCSPlus.TiledImage.Properties"],[141,0,3,"Width","TiledCSPlus.TiledImage.Width"],[142,0,3,"Height","TiledCSPlus.TiledImage.Height"],[143,0,2,"Variables","TiledCSPlus.TiledImage.Variables"],[144,0,4,"Source","TiledCSPlus.TiledImage.Source"],[145,0,0,"TiledCSPlus.​TiledTileAnimation","TiledCSPlus.TiledTileAnimation"],[146,0,2,"Properties","TiledCSPlus.TiledTileAnimation.Properties"],[147,0,3,"TileId","TiledCSPlus.TiledTileAnimation.TileId"],[148,0,3,"Duration","TiledCSPlus.TiledTileAnimation.Duration"],[149,0,0,"TiledCSPlus.​TiledSourceRect","TiledCSPlus.TiledSourceRect"],[150,0,2,"Properties","TiledCSPlus.TiledSourceRect.Properties"],[151,0,3,"X","TiledCSPlus.TiledSourceRect.X"],[152,0,3,"Y","TiledCSPlus.TiledSourceRect.Y"],[153,0,3,"Width","TiledCSPlus.TiledSourceRect.Width"],[154,0,3,"Height","TiledCSPlus.TiledSourceRect.Height"],[155,0,0,"TiledCSPlus.​TiledGroup","TiledCSPlus.TiledGroup"],[156,0,2,"Properties","TiledCSPlus.TiledGroup.Properties"],[157,0,3,"Id","TiledCSPlus.TiledGroup.Id"],[158,0,3,"Name","TiledCSPlus.TiledGroup.Name"],[159,0,3,"Visible","TiledCSPlus.TiledGroup.Visible"],[160,0,3,"Locked","TiledCSPlus.TiledGroup.Locked"],[161,0,3,"Properties","TiledCSPlus.TiledGroup.Properties(2)"],[162,0,3,"Layers","TiledCSPlus.TiledGroup.Layers"],[163,0,3,"Objects","TiledCSPlus.TiledGroup.Objects"],[164,0,3,"Groups","TiledCSPlus.TiledGroup.Groups"],[165,0,0,"TiledCSPlus.​TiledChunk","TiledCSPlus.TiledChunk"],[166,0,2,"Properties","TiledCSPlus.TiledChunk.Properties"],[167,0,3,"X","TiledCSPlus.TiledChunk.X"],[168,0,3,"Y","TiledCSPlus.TiledChunk.Y"],[169,0,3,"Width","TiledCSPlus.TiledChunk.Width"],[170,0,3,"Height","TiledCSPlus.TiledChunk.Height"],[171,0,3,"Data","TiledCSPlus.TiledChunk.Data"],[172,0,3,"DataRotationFlags","TiledCSPlus.TiledChunk.DataRotationFlags"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("File:TiledModels.cs","TiledModels.cs");NDSummary.OnSummaryLoaded("File:TiledModels.cs",[["C#","CSharp"]],[["Classes","Class"],["Groups","Group"],["Properties","Property"],["Variables","Variable"]],[[37,0,0,"TiledCSPlus.​Size","TiledCSPlus.Size"],[44,0,0,"TiledCSPlus.​TiledMapTileset","TiledCSPlus.TiledMapTileset"],[45,0,1,"Properties","TiledCSPlus.TiledMapTileset.Properties"],[46,0,2,"FirstGid","TiledCSPlus.TiledMapTileset.FirstGid"],[47,0,2,"IsTilesetEmbedded","TiledCSPlus.TiledMapTileset.IsTilesetEmbedded"],[48,0,2,"Source","TiledCSPlus.TiledMapTileset.Source"],[49,0,0,"TiledCSPlus.​TiledProperty","TiledCSPlus.TiledProperty"],[50,0,1,"Properties","TiledCSPlus.TiledProperty.Properties"],[51,0,2,"Name","TiledCSPlus.TiledProperty.Name"],[52,0,2,"Type","TiledCSPlus.TiledProperty.Type"],[53,0,2,"Value","TiledCSPlus.TiledProperty.Value"],[54,0,0,"TiledCSPlus.​TiledLayer","TiledCSPlus.TiledLayer"],[55,0,1,"Properties","TiledCSPlus.TiledLayer.Properties"],[56,0,2,"Id","TiledCSPlus.TiledLayer.Id"],[57,0,2,"Name","TiledCSPlus.TiledLayer.Name"],[58,0,2,"Width","TiledCSPlus.TiledLayer.Width"],[59,0,2,"Height","TiledCSPlus.TiledLayer.Height"],[60,0,2,"Type","TiledCSPlus.TiledLayer.Type"],[61,0,2,"TintColor","TiledCSPlus.TiledLayer.TintColor"],[62,0,2,"Visible","TiledCSPlus.TiledLayer.Visible"],[63,0,2,"Locked","TiledCSPlus.TiledLayer.Locked"],[64,0,1,"Variables","TiledCSPlus.TiledLayer.Variables"],[65,0,3,"Offset","TiledCSPlus.TiledLayer.Offset"],[66,0,3,"Parrallax","TiledCSPlus.TiledLayer.Parrallax"],[67,0,1,"Properties","TiledCSPlus.TiledLayer.Properties(2)"],[68,0,2,"Opacity","TiledCSPlus.TiledLayer.Opacity"],[69,0,2,"Class","TiledCSPlus.TiledLayer.Class"],[70,0,2,"Data","TiledCSPlus.TiledLayer.Data"],[71,0,2,"DataRotationFlags","TiledCSPlus.TiledLayer.DataRotationFlags"],[72,0,2,"Objects","TiledCSPlus.TiledLayer.Objects"],[73,0,2,"Properties","TiledCSPlus.TiledLayer.Properties(3)"],[74,0,2,"Image","TiledCSPlus.TiledLayer.Image"],[75,0,2,"Chunks","TiledCSPlus.TiledLayer.Chunks"],[76,0,0,"TiledCSPlus.​TiledObject","TiledCSPlus.TiledObject"],[77,0,1,"Properties","TiledCSPlus.TiledObject.Properties"],[78,0,2,"Id","TiledCSPlus.TiledObject.Id"],[79,0,2,"Name","TiledCSPlus.TiledObject.Name"],[80,0,2,"Class","TiledCSPlus.TiledObject.Class"],[81,0,2,"Position","TiledCSPlus.TiledObject.Position"],[82,0,2,"Rotation","TiledCSPlus.TiledObject.Rotation"],[83,0,2,"Size","TiledCSPlus.TiledObject.Size"],[84,0,2,"Gid","TiledCSPlus.TiledObject.Gid"],[85,0,2,"DataRotationFlag","TiledCSPlus.TiledObject.DataRotationFlag"],[86,0,2,"Properties","TiledCSPlus.TiledObject.Properties(2)"],[87,0,2,"Polygon","TiledCSPlus.TiledObject.Polygon"],[88,0,2,"Point","TiledCSPlus.TiledObject.Point"],[89,0,2,"Ellipse","TiledCSPlus.TiledObject.Ellipse"],[90,0,0,"TiledCSPlus.​TiledPolygon","TiledCSPlus.TiledPolygon"],[91,0,1,"Properties","TiledCSPlus.TiledPolygon.Properties"],[92,0,2,"Points","TiledCSPlus.TiledPolygon.Points"],[93,0,0,"TiledCSPlus.​TiledPoint","TiledCSPlus.TiledPoint"],[94,0,0,"TiledCSPlus.​TiledEllipse","TiledCSPlus.TiledEllipse"],[95,0,0,"TiledCSPlus.​TiledTile","TiledCSPlus.TiledTile"],[96,0,1,"Properties","TiledCSPlus.TiledTile.Properties"],[97,0,2,"Id","TiledCSPlus.TiledTile.Id"],[98,0,2,"Class","TiledCSPlus.TiledTile.Class"],[99,0,2,"Terrain","TiledCSPlus.TiledTile.Terrain"],[100,0,2,"Properties","TiledCSPlus.TiledTile.Properties(2)"],[101,0,2,"Animations","TiledCSPlus.TiledTile.Animations"],[102,0,2,"Objects","TiledCSPlus.TiledTile.Objects"],[103,0,2,"Image","TiledCSPlus.TiledTile.Image"],[104,0,0,"TiledCSPlus.​TiledImage","TiledCSPlus.TiledImage"],[105,0,1,"Properties","TiledCSPlus.TiledImage.Properties"],[106,0,2,"Width","TiledCSPlus.TiledImage.Width"],[107,0,2,"Height","TiledCSPlus.TiledImage.Height"],[108,0,1,"Variables","TiledCSPlus.TiledImage.Variables"],[109,0,3,"Source","TiledCSPlus.TiledImage.Source"],[110,0,0,"TiledCSPlus.​TiledTileAnimation","TiledCSPlus.TiledTileAnimation"],[111,0,1,"Properties","TiledCSPlus.TiledTileAnimation.Properties"],[112,0,2,"TileId","TiledCSPlus.TiledTileAnimation.TileId"],[113,0,2,"Duration","TiledCSPlus.TiledTileAnimation.Duration"],[114,0,0,"TiledCSPlus.​TiledSourceRect","TiledCSPlus.TiledSourceRect"],[115,0,1,"Properties","TiledCSPlus.TiledSourceRect.Properties"],[116,0,2,"X","TiledCSPlus.TiledSourceRect.X"],[117,0,2,"Y","TiledCSPlus.TiledSourceRect.Y"],[118,0,2,"Width","TiledCSPlus.TiledSourceRect.Width"],[119,0,2,"Height","TiledCSPlus.TiledSourceRect.Height"],[120,0,0,"TiledCSPlus.​TiledGroup","TiledCSPlus.TiledGroup"],[121,0,1,"Properties","TiledCSPlus.TiledGroup.Properties"],[122,0,2,"Id","TiledCSPlus.TiledGroup.Id"],[123,0,2,"Name","TiledCSPlus.TiledGroup.Name"],[124,0,2,"Visible","TiledCSPlus.TiledGroup.Visible"],[125,0,2,"Locked","TiledCSPlus.TiledGroup.Locked"],[126,0,2,"Properties","TiledCSPlus.TiledGroup.Properties(2)"],[127,0,2,"Layers","TiledCSPlus.TiledGroup.Layers"],[128,0,2,"Objects","TiledCSPlus.TiledGroup.Objects"],[129,0,2,"Groups","TiledCSPlus.TiledGroup.Groups"],[130,0,0,"TiledCSPlus.​TiledChunk","TiledCSPlus.TiledChunk"],[131,0,1,"Properties","TiledCSPlus.TiledChunk.Properties"],[132,0,2,"X","TiledCSPlus.TiledChunk.X"],[133,0,2,"Y","TiledCSPlus.TiledChunk.Y"],[134,0,2,"Width","TiledCSPlus.TiledChunk.Width"],[135,0,2,"Height","TiledCSPlus.TiledChunk.Height"],[136,0,2,"Data","TiledCSPlus.TiledChunk.Data"],[137,0,2,"DataRotationFlags","TiledCSPlus.TiledChunk.DataRotationFlags"],[138,0,0,"TiledCSPlus.​TiledTerrainSet","TiledCSPlus.TiledTerrainSet"],[139,0,1,"Properties","TiledCSPlus.TiledTerrainSet.Properties"],[140,0,2,"Name","TiledCSPlus.TiledTerrainSet.Name"],[141,0,2,"Class","TiledCSPlus.TiledTerrainSet.Class"],[142,0,2,"Tile","TiledCSPlus.TiledTerrainSet.Tile"],[143,0,2,"TerrainSetColors","TiledCSPlus.TiledTerrainSet.TerrainSetColors"],[144,0,2,"TerrainSetTiles","TiledCSPlus.TiledTerrainSet.TerrainSetTiles"],[145,0,2,"Properties","TiledCSPlus.TiledTerrainSet.Properties(2)"],[146,0,2,"Type","TiledCSPlus.TiledTerrainSet.Type"],[147,0,0,"TiledCSPlus.​TiledTerrainSetColor","TiledCSPlus.TiledTerrainSetColor"],[148,0,1,"Properties","TiledCSPlus.TiledTerrainSetColor.Properties"],[149,0,2,"Color","TiledCSPlus.TiledTerrainSetColor.Color"],[150,0,2,"Name","TiledCSPlus.TiledTerrainSetColor.Name"],[151,0,2,"Class","TiledCSPlus.TiledTerrainSetColor.Class"],[152,0,2,"Tile","TiledCSPlus.TiledTerrainSetColor.Tile"],[153,0,2,"Probability","TiledCSPlus.TiledTerrainSetColor.Probability"],[154,0,2,"Properties","TiledCSPlus.TiledTerrainSetColor.Properties(2)"],[155,0,0,"TiledCSPlus.​TiledTerrainSetTile","TiledCSPlus.TiledTerrainSetTile"],[156,0,1,"Properties","TiledCSPlus.TiledTerrainSetTile.Properties"],[157,0,2,"Top","TiledCSPlus.TiledTerrainSetTile.Top"],[158,0,2,"TopRight","TiledCSPlus.TiledTerrainSetTile.TopRight"],[159,0,2,"Right","TiledCSPlus.TiledTerrainSetTile.Right"],[160,0,2,"BottomRight","TiledCSPlus.TiledTerrainSetTile.BottomRight"],[161,0,2,"Bottom","TiledCSPlus.TiledTerrainSetTile.Bottom"],[162,0,2,"BottomLeft","TiledCSPlus.TiledTerrainSetTile.BottomLeft"],[163,0,2,"Left","TiledCSPlus.TiledTerrainSetTile.Left"],[164,0,2,"TopLeft","TiledCSPlus.TiledTerrainSetTile.TopLeft"]]); \ No newline at end of file diff --git a/docs/files/TiledModels-cs-SummaryToolTips.js b/docs/files/TiledModels-cs-SummaryToolTips.js index bbd4401..2bad2cc 100644 --- a/docs/files/TiledModels-cs-SummaryToolTips.js +++ b/docs/files/TiledModels-cs-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("File:TiledModels.cs",{63:"
public
TiledCSPlus.​Size
Represents a size
",65:"
public float Width {
get;
set
}
",66:"
public float Height {
get;
set
}
",68:"
public Size(
float 
width
 = 
0,
float 
height
 = 
0
)
",69:"
public bool Equals(
Size 
other
)
",70:"
public
TiledCSPlus.​Color
Represents a color in RGBA format
",72:"
public byte R {
get;
set
}
Red channel of the color
",73:"
public byte G {
get;
set
}
Green channel of the color
",74:"
public byte B {
get;
set
}
Blue channel of the color
",75:"
public byte A {
get;
set
}
Alpha channel of the color
",77:"
public Color(
byte 
r,
byte 
g,
byte 
b,
byte 
a
255
)
",78:"
public bool Equals(
Color 
other
)
",79:"
public
TiledCSPlus.​TiledMapTileset
Represents an element within the Tilesets array of a TiledMap object
",81:"
public int FirstGid {
get;
internal 
set
}
The first gid defines which gid matches the tile with source vector 0,0. Is used to determine which tileset belongs to which gid
",82:"
public bool IsTilesetEmbedded {
get;
internal 
set
}
Returns true if tileset is embedded in map
",83:"
public string Source {
get;
internal 
set
}
The tsx file path as defined in the map file itself
",84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",86:"
public string Name {
get;
internal 
set
}
The property name or key in string format
",87:"
public TiledPropertyType Type {
get;
internal 
set
}
The property type as used in Tiled. Can be bool, number, string, ...
",88:"
public string Value {
get;
internal 
set
}
The value in string format
",89:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",91:"
public int Id {
get;
internal 
set
}
The layer id
",92:"
public string Name {
get;
internal 
set
}
The layer name
",93:"
public int Width {
get;
internal 
set
}
Total horizontal tiles
",94:"
public int Height {
get;
internal 
set
}
Total vertical tiles
",95:"
public TiledLayerType Type {
get;
internal 
set
}
The layer type.
",96:"
public Color TintColor {
get;
internal 
set
}
The tint color set by the user in Color class
",97:"
public bool Visible {
get;
internal 
set
}
Defines if the layer is visible in the editor
",98:"
public bool Locked {
get;
internal 
set
}
Is true when the layer is locked
",100:"
public Vector2 Offset
Layer offset
",101:"
public Vector2 Parrallax
Parallax position
",103:"
public float Opacity {
get;
internal 
set
}
The layer opacity
",104:"
public string Class {
get;
internal 
set
}
The layer class
",105:"
public int[] Data {
get;
internal 
set
}
An int array of gid numbers which define which tile is being used where. The length of the array equals the layer width * the layer height. Is null when the layer is not a tilelayer.
",106:"
public byte[] DataRotationFlags {
get;
internal 
set
}
A parallel array to data which stores the rotation flags of the tile.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.
",107:"
public TiledObject[] Objects {
get;
internal 
set
}
The list of objects in case of an objectgroup layer. Is null when the layer has no objects.
",108:"
public TiledProperty[] Properties {
get;
internal 
set
}
The layer properties if set
",109:"
public TiledImage Image {
get;
internal 
set
}
The image the layer represents when the layer is an image layer
",110:"
public TiledChunk[] Chunks {
get;
internal 
set
}
The chunks of data when the map is infinite
",111:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",113:"
public int Id {
get;
internal 
set
}
The object id
",114:"
public string Name {
get;
internal 
set
}
The object\'s name
",115:"
public string Class {
get;
internal 
set
}
The object\'s class
",116:"
public Vector2 Position {
get;
internal 
set
}
Object\'s position in pixels
",117:"
public float Rotation {
get;
internal 
set
}
The object\'s rotation
",118:"
public Size Size {
get;
internal 
set
}
Object\'s size in pixels
",119:"
public int Gid {
get;
internal 
set
}
The tileset gid when the object is linked to a tile
",120:"
public byte DataRotationFlag {
get;
internal 
set
}
A byte which stores the rotation flags of the tile linked to the object\'s gid.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.
",121:"
public TiledProperty[] Properties {
get;
internal 
set
}
An array of properties. Is null if none were defined.
",122:"
public TiledPolygon Polygon {
get;
internal 
set
}
If an object was set to a polygon shape, this property will be set and can be used to access the polygon\'s data
",123:"
public TiledPoint Point {
get;
internal 
set
}
If an object was set to a point shape, this property will be set
",124:"
public TiledEllipse Ellipse {
get;
internal 
set
}
If an object was set to an ellipse shape, this property will be set
",125:"
public
TiledCSPlus.​TiledPolygon
Represents a polygon shape
",127:"
public Vector2[] Points {
get;
internal 
set
}
The array of vertices represented in Vector2 format.
",128:"
public
TiledCSPlus.​TiledPoint
Represents a point shape
",129:"
public
TiledCSPlus.​TiledEllipse
Represents an ellipse shape
",130:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",132:"
public int Id {
get;
internal 
set
}
The tile id
",133:"
public string Class {
get;
internal 
set
}
The custom tile class, set by the user
",134:"
public int[] Terrain {
get;
internal 
set
}
The terrain definitions as int array. These are indices indicating what part of a terrain and which terrain this tile represents.
",135:"
public TiledProperty[] Properties {
get;
internal 
set
}
An array of properties. Is null if none were defined.
",136:"
public TiledTileAnimation[] Animations {
get;
internal 
set
}
An array of tile animations. Is null if none were defined.
",137:"
public TiledObject[] Objects {
get;
internal 
set
}
An array of tile objects created using the tile collision editor
",138:"
public TiledImage Image {
get;
internal 
set
}
The individual tile image
",139:"
public
TiledCSPlus.​TiledImage
Represents an image
",141:"
public int Width {
get;
internal 
set
}
The image width
",142:"
public int Height {
get;
internal 
set
}
The image height
",144:"
public string Source
The image source path
",145:"
public
TiledCSPlus.​TiledTileAnimation
Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.
",147:"
public int TileId {
get;
internal 
set
}
The tile id within a tileset
",148:"
public int Duration {
get;
internal 
set
}
The duration in miliseconds
",149:"
public
TiledCSPlus.​TiledSourceRect
Used as data type for the GetSourceRect method. Represents basically a rectangle.
",151:"
public int X {
get;
internal 
set
}
The x position in pixels from the tile location in the source image
",152:"
public int Y {
get;
internal 
set
}
The y position in pixels from the tile location in the source image
",153:"
public int Width {
get;
internal 
set
}
The width in pixels from the tile in the source image
",154:"
public int Height {
get;
internal 
set
}
The height in pixels from the tile in the source image
",155:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
",157:"
public int Id {
get;
internal 
set
}
The group\'s id
",158:"
public string Name {
get;
internal 
set
}
The group\'s name
",159:"
public bool Visible {
get;
internal 
set
}
The group\'s visibility
",160:"
public bool Locked {
get;
internal 
set
}
The group\'s locked state
",161:"
public TiledProperty[] Properties {
get;
internal 
set
}
The group\'s user properties
",162:"
public TiledLayer[] Layers {
get;
internal 
set
}
The group\'s layers
",163:"
public TiledObject[] Objects {
get;
internal 
set
}
The group\'s objects
",164:"
public TiledGroup[] Groups {
get;
internal 
set
}
The group\'s subgroups
",165:"
public
TiledCSPlus.​TiledChunk
Represents a tile layer chunk when the map is infinite
",167:"
public int X {
get;
internal 
set
}
The chunk\'s x position
",168:"
public int Y {
get;
internal 
set
}
The chunk\'s y position
",169:"
public int Width {
get;
internal 
set
}
The chunk\'s width
",170:"
public int Height {
get;
internal 
set
}
The chunk\'s height
",171:"
public int[] Data {
get;
internal 
set
}
The chunk\'s data is similar to the data array in the TiledLayer class
",172:"
public byte[] DataRotationFlags {
get;
internal 
set
}
The chunk\'s data rotation flags are similar to the data rotation flags array in the TiledLayer class
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("File:TiledModels.cs",{37:"
public
TiledCSPlus.​Size
Represents a size
",44:"
public
TiledCSPlus.​TiledMapTileset
Represents an element within the Tilesets array of a TiledMap object
",46:"
public int FirstGid {
get;
internal 
set
}
The first gid defines which gid matches the tile with source vector 0,0. Is used to determine which tileset belongs to which gid
",47:"
public bool IsTilesetEmbedded {
get;
internal 
set
}
Returns true if tileset is embedded in map
",48:"
public string Source {
get;
internal 
set
}
The tsx file path as defined in the map file itself
",49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",51:"
public string Name {
get;
internal 
set
}
The property name or key in string format
",52:"
public TiledPropertyType Type {
get;
internal 
set
}
The property type as used in Tiled. Can be bool, number, string, ...
",53:"
public string Value {
get;
internal 
set
}
The value in string format
",54:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",56:"
public int Id {
get;
internal 
set
}
The layer id
",57:"
public string Name {
get;
internal 
set
}
The layer name
",58:"
public int Width {
get;
internal 
set
}
Total horizontal tiles
",59:"
public int Height {
get;
internal 
set
}
Total vertical tiles
",60:"
public TiledLayerType Type {
get;
internal 
set
}
The layer type.
",61:"
public Color TintColor {
get;
internal 
set
}
The tint color set by the user in Color class
",62:"
public bool Visible {
get;
internal 
set
}
Defines if the layer is visible in the editor
",63:"
public bool Locked {
get;
internal 
set
}
Is true when the layer is locked
",65:"
public Vector2 Offset
Layer offset
",66:"
public Vector2 Parrallax
Parallax position
",68:"
public float Opacity {
get;
internal 
set
}
The layer opacity
",69:"
public string Class {
get;
internal 
set
}
The layer class
",70:"
public int[] Data {
get;
internal 
set
}
An int array of gid numbers which define which tile is being used where. The length of the array equals the layer width * the layer height. Is null when the layer is not a tilelayer.
",71:"
public byte[] DataRotationFlags {
get;
internal 
set
}
A parallel array to data which stores the rotation flags of the tile.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.
",72:"
public TiledObject[] Objects {
get;
internal 
set
}
The list of objects in case of an objectgroup layer. Is null when the layer has no objects.
",73:"
public TiledProperty[] Properties {
get;
internal 
set
}
The layer properties if set
",74:"
public TiledImage Image {
get;
internal 
set
}
The image the layer represents when the layer is an image layer
",75:"
public TiledChunk[] Chunks {
get;
internal 
set
}
The chunks of data when the map is infinite
",76:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",78:"
public int Id {
get;
internal 
set
}
The object id
",79:"
public string Name {
get;
internal 
set
}
The object\'s name
",80:"
public string Class {
get;
internal 
set
}
The object\'s class
",81:"
public Vector2 Position {
get;
internal 
set
}
Object\'s position in pixels
",82:"
public float Rotation {
get;
internal 
set
}
The object\'s rotation
",83:"
public Size Size {
get;
internal 
set
}
Object\'s size in pixels
",84:"
public int Gid {
get;
internal 
set
}
The tileset gid when the object is linked to a tile
",85:"
public byte DataRotationFlag {
get;
internal 
set
}
A byte which stores the rotation flags of the tile linked to the object\'s gid.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.
",86:"
public TiledProperty[] Properties {
get;
internal 
set
}
An array of properties. Is null if none were defined.
",87:"
public TiledPolygon Polygon {
get;
internal 
set
}
If an object was set to a polygon shape, this property will be set and can be used to access the polygon\'s data
",88:"
public TiledPoint Point {
get;
internal 
set
}
If an object was set to a point shape, this property will be set
",89:"
public TiledEllipse Ellipse {
get;
internal 
set
}
If an object was set to an ellipse shape, this property will be set
",90:"
public
TiledCSPlus.​TiledPolygon
Represents a polygon shape
",92:"
public Vector2[] Points {
get;
internal 
set
}
The array of vertices represented in Vector2 format.
",93:"
public
TiledCSPlus.​TiledPoint
Represents a point shape
",94:"
public
TiledCSPlus.​TiledEllipse
Represents an ellipse shape
",95:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",97:"
public int Id {
get;
internal 
set
}
The tile id
",98:"
public string Class {
get;
internal 
set
}
The custom tile class, set by the user
",99:"
public int[] Terrain {
get;
internal 
set
}
The terrain definitions as int array. These are indices indicating what part of a terrain and which terrain this tile represents.
",100:"
public TiledProperty[] Properties {
get;
internal 
set
}
An array of properties. Is null if none were defined.
",101:"
public TiledTileAnimation[] Animations {
get;
internal 
set
}
An array of tile animations. Is null if none were defined.
",102:"
public TiledObject[] Objects {
get;
internal 
set
}
An array of tile objects created using the tile collision editor
",103:"
public TiledImage Image {
get;
internal 
set
}
The individual tile image
",104:"
public
TiledCSPlus.​TiledImage
Represents an image
",106:"
public int Width {
get;
internal 
set
}
The image width
",107:"
public int Height {
get;
internal 
set
}
The image height
",109:"
public string Source
The image source path
",110:"
public
TiledCSPlus.​TiledTileAnimation
Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.
",112:"
public int TileId {
get;
internal 
set
}
The tile id within a tileset
",113:"
public int Duration {
get;
internal 
set
}
The duration in miliseconds
",114:"
public
TiledCSPlus.​TiledSourceRect
Used as data type for the GetSourceRect method. Represents basically a rectangle.
",116:"
public int X {
get;
internal 
set
}
The x position in pixels from the tile location in the source image
",117:"
public int Y {
get;
internal 
set
}
The y position in pixels from the tile location in the source image
",118:"
public int Width {
get;
internal 
set
}
The width in pixels from the tile in the source image
",119:"
public int Height {
get;
internal 
set
}
The height in pixels from the tile in the source image
",120:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
",122:"
public int Id {
get;
internal 
set
}
The group\'s id
",123:"
public string Name {
get;
internal 
set
}
The group\'s name
",124:"
public bool Visible {
get;
internal 
set
}
The group\'s visibility
",125:"
public bool Locked {
get;
internal 
set
}
The group\'s locked state
",126:"
public TiledProperty[] Properties {
get;
internal 
set
}
The group\'s user properties
",127:"
public TiledLayer[] Layers {
get;
internal 
set
}
The group\'s layers
",128:"
public TiledObject[] Objects {
get;
internal 
set
}
The group\'s objects
",129:"
public TiledGroup[] Groups {
get;
internal 
set
}
The group\'s subgroups
",130:"
public
TiledCSPlus.​TiledChunk
Represents a tile layer chunk when the map is infinite
",132:"
public int X {
get;
internal 
set
}
The chunk\'s x position
",133:"
public int Y {
get;
internal 
set
}
The chunk\'s y position
",134:"
public int Width {
get;
internal 
set
}
The chunk\'s width
",135:"
public int Height {
get;
internal 
set
}
The chunk\'s height
",136:"
public int[] Data {
get;
internal 
set
}
The chunk\'s data is similar to the data array in the TiledLayer class
",137:"
public byte[] DataRotationFlags {
get;
internal 
set
}
The chunk\'s data rotation flags are similar to the data rotation flags array in the TiledLayer class
",138:"
public
TiledCSPlus.​TiledTerrainSet
Represents terrain set
",140:"
public string Name {
get;
internal 
set
}
The name of terrain set
",141:"
public string Class {
get;
internal 
set
}
The class of terrain set
",142:"
public int Tile {
get;
internal 
set
}
The tile ID of the tile representing this terrain set
",143:"
public TiledTerrainSetColor[] TerrainSetColors {
get;
internal 
set
}
The terrain set\'s colors
",144:"
public Dictionary<int, TiledTerrainSetTile> TerrainSetTiles {
get;
internal 
set
}
The terrain set\'s tiles
",145:"
public TiledProperty[] Properties {
get;
internal 
set
}
The terrain set\'s properties
",146:"
public TiledTerrainSetType Type {
get;
internal 
set
}
The type of terrain set
",147:"
public
TiledCSPlus.​TiledTerrainSetColor
Represents terrain set color
",149:"
public Color Color {
get;
internal 
set
}
The terrain set color\'s color
",150:"
public string Name {
get;
internal 
set
}
The terrain set\'s color name
",151:"
public string Class {
get;
internal 
set
}
The terrain set\'s color class
",152:"
public int Tile {
get;
internal 
set
}
The tile ID chosen as color icon
",153:"
public float Probability {
get;
internal 
set
}
The terrain set\'s color probability
",154:"
public TiledProperty[] Properties {
get;
internal 
set
}
The terrain set\'s color properties
",155:"
public
TiledCSPlus.​TiledTerrainSetTile
Represents terrain set\'s single tile
",157:"
public int Top {
get;
internal 
set
}
Top color of terrain set tile
",158:"
public int TopRight {
get;
internal 
set
}
Top right color of terrain set tile
",159:"
public int Right {
get;
internal 
set
}
Right color of terrain set tile
",160:"
public int BottomRight {
get;
internal 
set
}
Bottom right color of terrain set tile
",161:"
public int Bottom {
get;
internal 
set
}
Bottom color of terrain set tile
",162:"
public int BottomLeft {
get;
internal 
set
}
Bottom left color of terrain set tile
",163:"
public int Left {
get;
internal 
set
}
Left color of terrain set tile
",164:"
public int TopLeft {
get;
internal 
set
}
Top left color of terrain set tile
"}); \ No newline at end of file diff --git a/docs/files/TiledModels-cs-ToolTips.js b/docs/files/TiledModels-cs-ToolTips.js index 5897b15..34137e9 100644 --- a/docs/files/TiledModels-cs-ToolTips.js +++ b/docs/files/TiledModels-cs-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({63:"
public
TiledCSPlus.​Size
Represents a size
",70:"
public
TiledCSPlus.​Color
Represents a color in RGBA format
",84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",89:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",111:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",125:"
public
TiledCSPlus.​TiledPolygon
Represents a polygon shape
",128:"
public
TiledCSPlus.​TiledPoint
Represents a point shape
",129:"
public
TiledCSPlus.​TiledEllipse
Represents an ellipse shape
",139:"
public
TiledCSPlus.​TiledImage
Represents an image
",145:"
public
TiledCSPlus.​TiledTileAnimation
Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.
",155:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
",165:"
public
TiledCSPlus.​TiledChunk
Represents a tile layer chunk when the map is infinite
",201:"
public enum TiledLayerType
Represents the layer type
",202:"
public enum TiledPropertyType
Represents property\'s value data type
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({28:"
public enum TiledTerrainSetType
Represents terrain set types
",37:"
public
TiledCSPlus.​Size
Represents a size
",49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",54:"
public
TiledCSPlus.​TiledLayer
Represents a tile layer as well as an object layer within a tile map
",76:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",90:"
public
TiledCSPlus.​TiledPolygon
Represents a polygon shape
",93:"
public
TiledCSPlus.​TiledPoint
Represents a point shape
",94:"
public
TiledCSPlus.​TiledEllipse
Represents an ellipse shape
",104:"
public
TiledCSPlus.​TiledImage
Represents an image
",110:"
public
TiledCSPlus.​TiledTileAnimation
Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.
",120:"
public
TiledCSPlus.​TiledGroup
Represents a layer or object group
",130:"
public
TiledCSPlus.​TiledChunk
Represents a tile layer chunk when the map is infinite
",147:"
public
TiledCSPlus.​TiledTerrainSetColor
Represents terrain set color
",155:"
public
TiledCSPlus.​TiledTerrainSetTile
Represents terrain set\'s single tile
",225:"
public enum TiledLayerType
Represents the layer type
",226:"
public enum TiledPropertyType
Represents property\'s value data type
"}); \ No newline at end of file diff --git a/docs/files/TiledModels-cs.html b/docs/files/TiledModels-cs.html index 10283f9..5a8b0d8 100644 --- a/docs/files/TiledModels-cs.html +++ b/docs/files/TiledModels-cs.html @@ -10,622 +10,702 @@ -
+
TiledCSPlus.​Size
-
IEquatable​<Size>
public
TiledCSPlus.​Size
+
IEquatable​<Size>
public
TiledCSPlus.​Size

Represents a size

-
-
Properties
-
- -
-
Width
-
public float Width {
get;
set
}
-
- -
-
Height
-
public float Height {
get;
set
}
-
- -
-
Functions
-
- -
-
Size
-
public Size(
float 
width
 = 
0,
float 
height
 = 
0
)
-
- -
-
Equals
-
public bool Equals(
other
)
-
- -
-
TiledCSPlus.​Color
-
IEquatable​<Color>
public
TiledCSPlus.​Color
-

Represents a color in RGBA format

-
- -
-
Properties
-
- -
-
R
-
public byte R {
get;
set
}
-

Red channel of the color

-
- -
-
G
-
public byte G {
get;
set
}
-

Green channel of the color

-
- -
-
B
-
public byte B {
get;
set
}
-

Blue channel of the color

-
- -
-
A
-
public byte A {
get;
set
}
-

Alpha channel of the color

-
- -
-
Functions
-
- -
-
Color
-
public Color(
byte 
r,
byte 
g,
byte 
b,
byte 
a
255
)
-
- -
-
Equals
-
public bool Equals(
other
)
-
- -
+
TiledCSPlus.​TiledMapTileset
-
public
TiledCSPlus.​TiledMapTileset
+
public
TiledCSPlus.​TiledMapTileset

Represents an element within the Tilesets array of a TiledMap object

-
+
Properties
-
+
FirstGid
-
public int FirstGid {
get;
internal 
set
}
+
public int FirstGid {
get;
internal 
set
}

The first gid defines which gid matches the tile with source vector 0,0. Is used to determine which tileset belongs to which gid

-
+
IsTilesetEmbedded
-
public bool IsTilesetEmbedded {
get;
internal 
set
}
+
public bool IsTilesetEmbedded {
get;
internal 
set
}

Returns true if tileset is embedded in map

-
+
Source
-
public string Source {
get;
internal 
set
}
+
public string Source {
get;
internal 
set
}

The tsx file path as defined in the map file itself

-
+
TiledCSPlus.​TiledProperty
-
public
TiledCSPlus.​TiledProperty
+
public
TiledCSPlus.​TiledProperty

Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the 'type' property for conversions

-
+
Properties
-
+
Name
-
public string Name {
get;
internal 
set
}
+
public string Name {
get;
internal 
set
}

The property name or key in string format

-
+
Type
-
public TiledPropertyType Type {
get;
internal 
set
}
+
public TiledPropertyType Type {
get;
internal 
set
}

The property type as used in Tiled. Can be bool, number, string, ...

-
+
Value
-
public string Value {
get;
internal 
set
}
+
public string Value {
get;
internal 
set
}

The value in string format

-
+
TiledCSPlus.​TiledLayer
-
public
TiledCSPlus.​TiledLayer
+
public
TiledCSPlus.​TiledLayer

Represents a tile layer as well as an object layer within a tile map

-
+
Properties
-
+
Id
-
public int Id {
get;
internal 
set
}
+
public int Id {
get;
internal 
set
}

The layer id

-
+
Name
-
public string Name {
get;
internal 
set
}
+
public string Name {
get;
internal 
set
}

The layer name

-
+
Width
-
public int Width {
get;
internal 
set
}
+
public int Width {
get;
internal 
set
}

Total horizontal tiles

-
+
Height
-
public int Height {
get;
internal 
set
}
+
public int Height {
get;
internal 
set
}

Total vertical tiles

-
+
Type
-
public TiledLayerType Type {
get;
internal 
set
}
+
public TiledLayerType Type {
get;
internal 
set
}

The layer type.

-
+
TintColor
-
public Color TintColor {
get;
internal 
set
}
+
public Color TintColor {
get;
internal 
set
}

The tint color set by the user in Color class

-
+
Visible
-
public bool Visible {
get;
internal 
set
}
+
public bool Visible {
get;
internal 
set
}

Defines if the layer is visible in the editor

-
+
Locked
-
public bool Locked {
get;
internal 
set
}
+
public bool Locked {
get;
internal 
set
}

Is true when the layer is locked

-
+
Variables
-
+
Offset
-
public Vector2 Offset
+
public Vector2 Offset

Layer offset

-
+
Parrallax
-
public Vector2 Parrallax
+
public Vector2 Parrallax

Parallax position

-
+
Properties
-
+
Opacity
-
public float Opacity {
get;
internal 
set
}
+
public float Opacity {
get;
internal 
set
}

The layer opacity

-
+
Class
-
public string Class {
get;
internal 
set
}
+
public string Class {
get;
internal 
set
}

The layer class

-
+
Data
-
public int[] Data {
get;
internal 
set
}
+
public int[] Data {
get;
internal 
set
}

An int array of gid numbers which define which tile is being used where. The length of the array equals the layer width * the layer height. Is null when the layer is not a tilelayer.

-
+
DataRotationFlags
-
public byte[] DataRotationFlags {
get;
internal 
set
}
+
public byte[] DataRotationFlags {
get;
internal 
set
}

A parallel array to data which stores the rotation flags of the tile.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.

-
+
Objects
-
public TiledObject[] Objects {
get;
internal 
set
}
+
public TiledObject[] Objects {
get;
internal 
set
}

The list of objects in case of an objectgroup layer. Is null when the layer has no objects.

-
+
Properties
-
public TiledProperty[] Properties {
get;
internal 
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

The layer properties if set

-
+
Image
-
public TiledImage Image {
get;
internal 
set
}
+
public TiledImage Image {
get;
internal 
set
}

The image the layer represents when the layer is an image layer

-
+
Chunks
-
public TiledChunk[] Chunks {
get;
internal 
set
}
+
public TiledChunk[] Chunks {
get;
internal 
set
}

The chunks of data when the map is infinite

-
+
TiledCSPlus.​TiledObject
-
public
TiledCSPlus.​TiledObject
+
public
TiledCSPlus.​TiledObject

Represents an tiled object defined in object layers and tiles

-
+
Properties
-
+
Id
-
public int Id {
get;
internal 
set
}
+
public int Id {
get;
internal 
set
}

The object id

-
+
Name
-
public string Name {
get;
internal 
set
}
+
public string Name {
get;
internal 
set
}

The object's name

-
+
Class
-
public string Class {
get;
internal 
set
}
+
public string Class {
get;
internal 
set
}

The object's class

-
+
Position
-
public Vector2 Position {
get;
internal 
set
}
+
public Vector2 Position {
get;
internal 
set
}

Object's position in pixels

-
+
Rotation
-
public float Rotation {
get;
internal 
set
}
+
public float Rotation {
get;
internal 
set
}

The object's rotation

-
+
Size
-
public Size Size {
get;
internal 
set
}
+
public Size Size {
get;
internal 
set
}

Object's size in pixels

-
+
Gid
-
public int Gid {
get;
internal 
set
}
+
public int Gid {
get;
internal 
set
}

The tileset gid when the object is linked to a tile

-
+
DataRotationFlag
-
public byte DataRotationFlag {
get;
internal 
set
}
+
public byte DataRotationFlag {
get;
internal 
set
}

A byte which stores the rotation flags of the tile linked to the object's gid.  Bit 3 is horizontal flip, bit 2 is vertical flip, and bit 1 is (anti) diagonal flip.  Is null when the layer is not a tilelayer.

-
+
Properties
-
public TiledProperty[] Properties {
get;
internal 
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

An array of properties. Is null if none were defined.

-
+
Polygon
-
public TiledPolygon Polygon {
get;
internal 
set
}
+
public TiledPolygon Polygon {
get;
internal 
set
}

If an object was set to a polygon shape, this property will be set and can be used to access the polygon's data

-
+
Point
-
public TiledPoint Point {
get;
internal 
set
}
+
public TiledPoint Point {
get;
internal 
set
}

If an object was set to a point shape, this property will be set

-
+
Ellipse
-
public TiledEllipse Ellipse {
get;
internal 
set
}
+
public TiledEllipse Ellipse {
get;
internal 
set
}

If an object was set to an ellipse shape, this property will be set

-
+
TiledCSPlus.​TiledPolygon
-
public
TiledCSPlus.​TiledPolygon
+
public
TiledCSPlus.​TiledPolygon

Represents a polygon shape

-
+
Properties
-
+
Points
-
public Vector2[] Points {
get;
internal 
set
}
+
public Vector2[] Points {
get;
internal 
set
}

The array of vertices represented in Vector2 format.

-
+
TiledCSPlus.​TiledPoint
-
public
TiledCSPlus.​TiledPoint
+
public
TiledCSPlus.​TiledPoint

Represents a point shape

-
+
TiledCSPlus.​TiledEllipse
-
public
TiledCSPlus.​TiledEllipse
+
public
TiledCSPlus.​TiledEllipse

Represents an ellipse shape

-
+
TiledCSPlus.​TiledTile
-
public
TiledCSPlus.​TiledTile
+
public
TiledCSPlus.​TiledTile

Represents a tile within a tileset

These are not defined for all tiles within a tileset, only the ones with properties, terrains and animations.

-
+
Properties
-
+
Id
-
public int Id {
get;
internal 
set
}
+
public int Id {
get;
internal 
set
}

The tile id

-
+
Class
-
public string Class {
get;
internal 
set
}
+
public string Class {
get;
internal 
set
}

The custom tile class, set by the user

-
+
Terrain
-
public int[] Terrain {
get;
internal 
set
}
+
public int[] Terrain {
get;
internal 
set
}

The terrain definitions as int array. These are indices indicating what part of a terrain and which terrain this tile represents.

In the map file empty space is used to indicate null or no value. However, since it is an int array I needed something so I decided to replace empty values with -1.

-
+
Properties
-
public TiledProperty[] Properties {
get;
internal 
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

An array of properties. Is null if none were defined.

-
+
Animations
-
public TiledTileAnimation[] Animations {
get;
internal 
set
}
+
public TiledTileAnimation[] Animations {
get;
internal 
set
}

An array of tile animations. Is null if none were defined.

-
+
Objects
-
public TiledObject[] Objects {
get;
internal 
set
}
+
public TiledObject[] Objects {
get;
internal 
set
}

An array of tile objects created using the tile collision editor

-
+
Image
-
public TiledImage Image {
get;
internal 
set
}
+
public TiledImage Image {
get;
internal 
set
}

The individual tile image

-
+
TiledCSPlus.​TiledImage
-
public
TiledCSPlus.​TiledImage
+
public
TiledCSPlus.​TiledImage

Represents an image

-
+
Properties
-
+
Width
-
public int Width {
get;
internal 
set
}
+
public int Width {
get;
internal 
set
}

The image width

-
+
Height
-
public int Height {
get;
internal 
set
}
+
public int Height {
get;
internal 
set
}

The image height

-
+
Variables
-
+
Source
-
public string Source
+
public string Source

The image source path

-
+
TiledCSPlus.​TiledTileAnimation
-
public
TiledCSPlus.​TiledTileAnimation
+
public
TiledCSPlus.​TiledTileAnimation

Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.

-
+
Properties
-
+
TileId
-
public int TileId {
get;
internal 
set
}
+
public int TileId {
get;
internal 
set
}

The tile id within a tileset

-
+
Duration
-
public int Duration {
get;
internal 
set
}
+
public int Duration {
get;
internal 
set
}

The duration in miliseconds

-
+
TiledCSPlus.​TiledSourceRect
-
public
TiledCSPlus.​TiledSourceRect
+
public
TiledCSPlus.​TiledSourceRect

Used as data type for the GetSourceRect method. Represents basically a rectangle.

-
+
Properties
-
+
X
-
public int X {
get;
internal 
set
}
+
public int X {
get;
internal 
set
}

The x position in pixels from the tile location in the source image

-
+
Y
-
public int Y {
get;
internal 
set
}
+
public int Y {
get;
internal 
set
}

The y position in pixels from the tile location in the source image

-
+
Width
-
public int Width {
get;
internal 
set
}
+
public int Width {
get;
internal 
set
}

The width in pixels from the tile in the source image

-
+
Height
-
public int Height {
get;
internal 
set
}
+
public int Height {
get;
internal 
set
}

The height in pixels from the tile in the source image

-
+
TiledCSPlus.​TiledGroup
-
public
TiledCSPlus.​TiledGroup
+
public
TiledCSPlus.​TiledGroup

Represents a layer or object group

-
+
Properties
-
+
Id
-
public int Id {
get;
internal 
set
}
+
public int Id {
get;
internal 
set
}

The group's id

-
+
Name
-
public string Name {
get;
internal 
set
}
+
public string Name {
get;
internal 
set
}

The group's name

-
+
Visible
-
public bool Visible {
get;
internal 
set
}
+
public bool Visible {
get;
internal 
set
}

The group's visibility

-
+
Locked
-
public bool Locked {
get;
internal 
set
}
+
public bool Locked {
get;
internal 
set
}

The group's locked state

-
+
Properties
-
public TiledProperty[] Properties {
get;
internal 
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

The group's user properties

-
+
Layers
-
public TiledLayer[] Layers {
get;
internal 
set
}
+
public TiledLayer[] Layers {
get;
internal 
set
}

The group's layers

-
+
Objects
-
public TiledObject[] Objects {
get;
internal 
set
}
+
public TiledObject[] Objects {
get;
internal 
set
}

The group's objects

-
+
Groups
-
public TiledGroup[] Groups {
get;
internal 
set
}
+
public TiledGroup[] Groups {
get;
internal 
set
}

The group's subgroups

-
+
TiledCSPlus.​TiledChunk
-
public
TiledCSPlus.​TiledChunk
+
public
TiledCSPlus.​TiledChunk

Represents a tile layer chunk when the map is infinite

-
+
Properties
-
+
X
-
public int X {
get;
internal 
set
}
+
public int X {
get;
internal 
set
}

The chunk's x position

-
+
Y
-
public int Y {
get;
internal 
set
}
+
public int Y {
get;
internal 
set
}

The chunk's y position

-
+
Width
-
public int Width {
get;
internal 
set
}
+
public int Width {
get;
internal 
set
}

The chunk's width

-
+
Height
-
public int Height {
get;
internal 
set
}
+
public int Height {
get;
internal 
set
}

The chunk's height

-
+
Data
-
public int[] Data {
get;
internal 
set
}
+
public int[] Data {
get;
internal 
set
}

The chunk's data is similar to the data array in the TiledLayer class

-
+
DataRotationFlags
-
public byte[] DataRotationFlags {
get;
internal 
set
}
+
public byte[] DataRotationFlags {
get;
internal 
set
}

The chunk's data rotation flags are similar to the data rotation flags array in the TiledLayer class

+
+
TiledCSPlus.​TiledTerrainSet
+
public
TiledCSPlus.​TiledTerrainSet
+

Represents terrain set

+
+ +
+
Properties
+
+ +
+
Name
+
public string Name {
get;
internal 
set
}
+

The name of terrain set

+
+ +
+
Class
+
public string Class {
get;
internal 
set
}
+

The class of terrain set

+
+ +
+
Tile
+
public int Tile {
get;
internal 
set
}
+

The tile ID of the tile representing this terrain set

+
+ +
+
TerrainSetColors
+
public TiledTerrainSetColor[] TerrainSetColors {
get;
internal 
set
}
+

The terrain set's colors

+
+ +
+
TerrainSetTiles
+
public Dictionary<int, TiledTerrainSetTile> TerrainSetTiles {
get;
internal 
set
}
+

The terrain set's tiles

+
+ +
+
Properties
+
public TiledProperty[] Properties {
get;
internal 
set
}
+

The terrain set's properties

+
+ +
+
Type
+
public TiledTerrainSetType Type {
get;
internal 
set
}
+

The type of terrain set

+
+ +
+
TiledCSPlus.​TiledTerrainSetColor
+
public
TiledCSPlus.​TiledTerrainSetColor
+

Represents terrain set color

+
+ +
+
Properties
+
+ +
+
Color
+
public Color Color {
get;
internal 
set
}
+

The terrain set color's color

+
+ +
+
Name
+
public string Name {
get;
internal 
set
}
+

The terrain set's color name

+
+ +
+
Class
+
public string Class {
get;
internal 
set
}
+

The terrain set's color class

+
+ +
+
Tile
+
public int Tile {
get;
internal 
set
}
+

The tile ID chosen as color icon

+
+ +
+
Probability
+
public float Probability {
get;
internal 
set
}
+

The terrain set's color probability

+
+ +
+
Properties
+
public TiledProperty[] Properties {
get;
internal 
set
}
+

The terrain set's color properties

+
+ +
+
TiledCSPlus.​TiledTerrainSetTile
+
public
TiledCSPlus.​TiledTerrainSetTile
+

Represents terrain set's single tile

+
+ +
+
Properties
+
+ +
+
Top
+
public int Top {
get;
internal 
set
}
+

Top color of terrain set tile

+
+ +
+
TopRight
+
public int TopRight {
get;
internal 
set
}
+

Top right color of terrain set tile

+
+ +
+
Right
+
public int Right {
get;
internal 
set
}
+

Right color of terrain set tile

+
+ +
+
BottomRight
+
public int BottomRight {
get;
internal 
set
}
+

Bottom right color of terrain set tile

+
+ +
+
Bottom
+
public int Bottom {
get;
internal 
set
}
+

Bottom color of terrain set tile

+
+ +
+
BottomLeft
+
public int BottomLeft {
get;
internal 
set
}
+

Bottom left color of terrain set tile

+
+ +
+
Left
+
public int Left {
get;
internal 
set
}
+

Left color of terrain set tile

+
+ +
+
TopLeft
+
public int TopLeft {
get;
internal 
set
}
+

Top left color of terrain set tile

+
+ \ No newline at end of file diff --git a/docs/files/TiledTileset-cs-Summary.js b/docs/files/TiledTileset-cs-Summary.js index 9318e33..d015b1c 100644 --- a/docs/files/TiledTileset-cs-Summary.js +++ b/docs/files/TiledTileset-cs-Summary.js @@ -1 +1 @@ -NDFramePage.OnPageTitleLoaded("File:TiledTileset.cs","TiledTileset.cs");NDSummary.OnSummaryLoaded("File:TiledTileset.cs",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"],["Properties","Property"]],[[173,0,0,"TiledCSPlus.​TiledTileset","TiledCSPlus.TiledTileset"],[174,0,2,"Properties","TiledCSPlus.TiledTileset.Properties"],[175,0,3,"TiledVersion","TiledCSPlus.TiledTileset.TiledVersion"],[176,0,3,"TilesetVersion","TiledCSPlus.TiledTileset.TilesetVersion"],[177,0,3,"Name","TiledCSPlus.TiledTileset.Name"],[178,0,3,"Class","TiledCSPlus.TiledTileset.Class"],[179,0,3,"TileWidth","TiledCSPlus.TiledTileset.TileWidth"],[180,0,3,"TileHeight","TiledCSPlus.TiledTileset.TileHeight"],[181,0,3,"TileCount","TiledCSPlus.TiledTileset.TileCount"],[182,0,3,"Columns","TiledCSPlus.TiledTileset.Columns"],[183,0,3,"Image","TiledCSPlus.TiledTileset.Image"],[184,0,3,"Spacing","TiledCSPlus.TiledTileset.Spacing"],[185,0,3,"Margin","TiledCSPlus.TiledTileset.Margin"],[186,0,3,"Tiles","TiledCSPlus.TiledTileset.Tiles"],[187,0,3,"Properties","TiledCSPlus.TiledTileset.Properties(2)"],[188,0,3,"Offset","TiledCSPlus.TiledTileset.Offset"],[189,0,2,"Functions","TiledCSPlus.TiledTileset.Functions"],[190,0,1,"TiledTileset","TiledCSPlus.TiledTileset.TiledTileset"],[191,0,1,"TiledTileset","TiledCSPlus.TiledTileset.TiledTileset(2)"],[192,0,1,"TiledTileset","TiledCSPlus.TiledTileset.TiledTileset(3)"],[193,0,1,"ParseXml","TiledCSPlus.TiledTileset.ParseXml"],[194,0,1,"ParseOffset","TiledCSPlus.TiledTileset.ParseOffset"],[195,0,1,"ParseImage","TiledCSPlus.TiledTileset.ParseImage"],[196,0,1,"ParseAnimations","TiledCSPlus.TiledTileset.ParseAnimations"],[197,0,1,"ParseProperties","TiledCSPlus.TiledTileset.ParseProperties"],[198,0,1,"ParseTiles","TiledCSPlus.TiledTileset.ParseTiles"],[199,0,1,"ParseObjects","TiledCSPlus.TiledTileset.ParseObjects"]]); \ No newline at end of file +NDFramePage.OnPageTitleLoaded("File:TiledTileset.cs","TiledTileset.cs");NDSummary.OnSummaryLoaded("File:TiledTileset.cs",[["C#","CSharp"]],[["Classes","Class"],["Functions","Function"],["Groups","Group"],["Properties","Property"]],[[5,0,0,"TiledCSPlus.​TiledTileset","TiledCSPlus.TiledTileset"],[6,0,2,"Properties","TiledCSPlus.TiledTileset.Properties"],[7,0,3,"TiledVersion","TiledCSPlus.TiledTileset.TiledVersion"],[8,0,3,"TilesetVersion","TiledCSPlus.TiledTileset.TilesetVersion"],[9,0,3,"Name","TiledCSPlus.TiledTileset.Name"],[10,0,3,"Class","TiledCSPlus.TiledTileset.Class"],[11,0,3,"TileWidth","TiledCSPlus.TiledTileset.TileWidth"],[12,0,3,"TileHeight","TiledCSPlus.TiledTileset.TileHeight"],[13,0,3,"TileCount","TiledCSPlus.TiledTileset.TileCount"],[14,0,3,"Columns","TiledCSPlus.TiledTileset.Columns"],[15,0,3,"Image","TiledCSPlus.TiledTileset.Image"],[16,0,3,"Spacing","TiledCSPlus.TiledTileset.Spacing"],[17,0,3,"Margin","TiledCSPlus.TiledTileset.Margin"],[18,0,3,"Tiles","TiledCSPlus.TiledTileset.Tiles"],[19,0,3,"Properties","TiledCSPlus.TiledTileset.Properties(2)"],[20,0,3,"Offset","TiledCSPlus.TiledTileset.Offset"],[21,0,3,"TerrainSets","TiledCSPlus.TiledTileset.TerrainSets"],[22,0,2,"Functions","TiledCSPlus.TiledTileset.Functions"],[23,0,1,"TiledTileset","TiledCSPlus.TiledTileset.TiledTileset"],[24,0,1,"TiledTileset","TiledCSPlus.TiledTileset.TiledTileset(2)"],[25,0,1,"TiledTileset","TiledCSPlus.TiledTileset.TiledTileset(3)"],[26,0,1,"ParseXml","TiledCSPlus.TiledTileset.ParseXml"]]); \ No newline at end of file diff --git a/docs/files/TiledTileset-cs-SummaryToolTips.js b/docs/files/TiledTileset-cs-SummaryToolTips.js index ce07392..343d8a2 100644 --- a/docs/files/TiledTileset-cs-SummaryToolTips.js +++ b/docs/files/TiledTileset-cs-SummaryToolTips.js @@ -1 +1 @@ -NDSummary.OnToolTipsLoaded("File:TiledTileset.cs",{173:"
public
TiledCSPlus.​TiledTileset
Represents a Tiled tileset
",175:"
public string TiledVersion {
get;
set
}
The Tiled version used to create this tileset
",176:"
public string TilesetVersion {
get;
set
}
The Tiled version this tileset is compatible with
",177:"
public string Name {
get;
set
}
The tileset name
",178:"
public string Class {
get;
set
}
The tileset class
",179:"
public int TileWidth {
get;
set
}
The tile width in pixels
",180:"
public int TileHeight {
get;
set
}
The tile height in pixels
",181:"
public int TileCount {
get;
set
}
The total amount of tiles
",182:"
public int Columns {
get;
set
}
The amount of horizontal tiles
",183:"
public TiledImage Image {
get;
set
}
The image definition used by the tileset
",184:"
public int Spacing {
get;
set
}
The amount of spacing between the tiles in pixels
",185:"
public int Margin {
get;
set
}
The amount of margin between the tiles in pixels
",186:"
public TiledTile[] Tiles {
get;
set
}
An array of tile definitions
",187:"
public TiledProperty[] Properties {
get;
set
}
An array of tileset properties
",188:"
public Vector2 Offset {
get;
set
}
The tile offset in pixels
",190:"
public TiledTileset()
Returns an empty instance of TiledTileset
",191:"
public TiledTileset(
string 
path
)
Loads a tileset in TSX format and parses it
",192:"
public TiledTileset(
Stream 
stream
)
Loads a tileset in TSX format and parses it
",193:"
public void ParseXml(
string 
xml
)
Can be used to parse the content of a TSX tileset manually instead of loading it using the constructor
",194:"
private Vector2 ParseOffset(
XmlNode 
node
)
",195:"
private TiledImage ParseImage(
XmlNode 
node
)
",196:"
private TiledTileAnimation[] ParseAnimations(
XmlNodeList 
nodeList
)
",197:"
private TiledProperty[] ParseProperties(
XmlNodeList 
nodeList
)
",198:"
private TiledTile[] ParseTiles(
XmlNodeList 
nodeList
)
",199:"
private TiledObject[] ParseObjects(
XmlNodeList 
nodeList
)
"}); \ No newline at end of file +NDSummary.OnToolTipsLoaded("File:TiledTileset.cs",{5:"
public
TiledCSPlus.​TiledTileset
Represents a Tiled tileset
",7:"
public string TiledVersion {
get;
internal 
set
}
The Tiled version used to create this tileset
",8:"
public string TilesetVersion {
get;
internal 
set
}
The Tiled version this tileset is compatible with
",9:"
public string Name {
get;
internal 
set
}
The tileset name
",10:"
public string Class {
get;
internal 
set
}
The tileset class
",11:"
public int TileWidth {
get;
internal 
set
}
The tile width in pixels
",12:"
public int TileHeight {
get;
internal 
set
}
The tile height in pixels
",13:"
public int TileCount {
get;
internal 
set
}
The total amount of tiles
",14:"
public int Columns {
get;
internal 
set
}
The amount of horizontal tiles
",15:"
public TiledImage Image {
get;
internal 
set
}
The image definition used by the tileset
",16:"
public int Spacing {
get;
internal 
set
}
The amount of spacing between the tiles in pixels
",17:"
public int Margin {
get;
internal 
set
}
The amount of margin between the tiles in pixels
",18:"
public TiledTile[] Tiles {
get;
internal 
set
}
An array of tile definitions
",19:"
public TiledProperty[] Properties {
get;
internal 
set
}
An array of tileset properties
",20:"
public Vector2 Offset {
get;
internal 
set
}
The tile offset in pixels
",21:"
public TiledTerrainSet[] TerrainSets {
get;
internal 
set
}
An array of terrain sets
",23:"
internal TiledTileset()
Returns an empty instance of TiledTileset
",24:"
public TiledTileset(
string 
path
)
Loads a tileset in TSX format and parses it
",25:"
public TiledTileset(
Stream 
stream
)
Loads a tileset in TSX format and parses it
",26:"
public void ParseXml(
string 
xml
)
Can be used to parse the content of a TSX tileset manually instead of loading it using the constructor
"}); \ No newline at end of file diff --git a/docs/files/TiledTileset-cs-ToolTips.js b/docs/files/TiledTileset-cs-ToolTips.js index 183210d..fe979ec 100644 --- a/docs/files/TiledTileset-cs-ToolTips.js +++ b/docs/files/TiledTileset-cs-ToolTips.js @@ -1 +1 @@ -NDContentPage.OnToolTipsLoaded({1:"
public
TiledCSPlus.​TiledException
Represents an exception only thrown by TiledCS
",84:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",111:"
public
TiledCSPlus.​TiledObject
Represents an tiled object defined in object layers and tiles
",130:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",139:"
public
TiledCSPlus.​TiledImage
Represents an image
",145:"
public
TiledCSPlus.​TiledTileAnimation
Represents a tile animation. Tile animations are a group of tiles which act as frames for an animation.
"}); \ No newline at end of file +NDContentPage.OnToolTipsLoaded({1:"
public
TiledCSPlus.​TiledException
Represents an exception only thrown by TiledCS
",49:"
public
TiledCSPlus.​TiledProperty
Represents a property object in both tilesets, maps, layers and objects. Values are all in string but you can use the \'type\' property for conversions
",95:"
public
TiledCSPlus.​TiledTile
Represents a tile within a tileset
",104:"
public
TiledCSPlus.​TiledImage
Represents an image
",138:"
public
TiledCSPlus.​TiledTerrainSet
Represents terrain set
"}); \ No newline at end of file diff --git a/docs/files/TiledTileset-cs.html b/docs/files/TiledTileset-cs.html index 6c540e0..1705f22 100644 --- a/docs/files/TiledTileset-cs.html +++ b/docs/files/TiledTileset-cs.html @@ -10,156 +10,132 @@ -
+
TiledCSPlus.​TiledTileset
-
public
TiledCSPlus.​TiledTileset
+
public
TiledCSPlus.​TiledTileset

Represents a Tiled tileset

-
+
Properties
-
+
TiledVersion
-
public string TiledVersion {
get;
set
}
+
public string TiledVersion {
get;
internal 
set
}

The Tiled version used to create this tileset

-
+
TilesetVersion
-
public string TilesetVersion {
get;
set
}
+
public string TilesetVersion {
get;
internal 
set
}

The Tiled version this tileset is compatible with

-
+
Name
-
public string Name {
get;
set
}
+
public string Name {
get;
internal 
set
}

The tileset name

-
+
Class
-
public string Class {
get;
set
}
+
public string Class {
get;
internal 
set
}

The tileset class

-
+
TileWidth
-
public int TileWidth {
get;
set
}
+
public int TileWidth {
get;
internal 
set
}

The tile width in pixels

-
+
TileHeight
-
public int TileHeight {
get;
set
}
+
public int TileHeight {
get;
internal 
set
}

The tile height in pixels

-
+
TileCount
-
public int TileCount {
get;
set
}
+
public int TileCount {
get;
internal 
set
}

The total amount of tiles

-
+
Columns
-
public int Columns {
get;
set
}
+
public int Columns {
get;
internal 
set
}

The amount of horizontal tiles

-
+
Image
-
public TiledImage Image {
get;
set
}
+
public TiledImage Image {
get;
internal 
set
}

The image definition used by the tileset

-
+
Spacing
-
public int Spacing {
get;
set
}
+
public int Spacing {
get;
internal 
set
}

The amount of spacing between the tiles in pixels

-
+
Margin
-
public int Margin {
get;
set
}
+
public int Margin {
get;
internal 
set
}

The amount of margin between the tiles in pixels

-
+
Tiles
-
public TiledTile[] Tiles {
get;
set
}
+
public TiledTile[] Tiles {
get;
internal 
set
}

An array of tile definitions

Not all tiles within a tileset have definitions. Only those with properties, animations, terrains, ...

-
+
Properties
-
public TiledProperty[] Properties {
get;
set
}
+
public TiledProperty[] Properties {
get;
internal 
set
}

An array of tileset properties

-
+
Offset
-
public Vector2 Offset {
get;
set
}
+
public Vector2 Offset {
get;
internal 
set
}

The tile offset in pixels

-
+
+
TerrainSets
+
public TiledTerrainSet[] TerrainSets {
get;
internal 
set
}
+

An array of terrain sets

+
+ +
Functions
-
+
TiledTileset
-
public TiledTileset()
+
internal TiledTileset()

Returns an empty instance of TiledTileset

-
+
TiledTileset
-
public TiledTileset(
string 
path
)
+
public TiledTileset(
string 
path
)

Loads a tileset in TSX format and parses it

Parameter
path
string

The file path of the TSX file

Exceptions
TiledException

Thrown when the file could not be found or parsed

-
+
TiledTileset
-
public TiledTileset(
Stream 
stream
)
+
public TiledTileset(
Stream 
stream
)

Loads a tileset in TSX format and parses it

Parameter
stream
Stream

The file stream of the TSX file

Exceptions
TiledException

Thrown when the file could not be parsed

-
+
ParseXml
-
public void ParseXml(
string 
xml
)
+
public void ParseXml(
string 
xml
)

Can be used to parse the content of a TSX tileset manually instead of loading it using the constructor

Parameter
xml
string

The tmx file content as string

Exceptions
-
-
ParseOffset
-
private Vector2 ParseOffset(
XmlNode 
node
)
-
- -
-
ParseImage
-
private TiledImage ParseImage(
XmlNode 
node
)
-
- -
-
ParseAnimations
-
private TiledTileAnimation[] ParseAnimations(
XmlNodeList 
nodeList
)
-
- -
-
ParseProperties
-
private TiledProperty[] ParseProperties(
XmlNodeList 
nodeList
)
-
- -
-
ParseTiles
-
private TiledTile[] ParseTiles(
XmlNodeList 
nodeList
)
-
- -
-
ParseObjects
-
private TiledObject[] ParseObjects(
XmlNodeList 
nodeList
)
-
- \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 9a9e47d..21b6038 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,6 +1,6 @@  -TiledCSPlus Documentation +TiledCSPlus 4.1 Documentation @@ -8,4 +8,4 @@ -
\ No newline at end of file +
\ No newline at end of file diff --git a/docs/menu/classes.js b/docs/menu/classes.js index 759ca67..fbaac91 100644 --- a/docs/menu/classes.js +++ b/docs/menu/classes.js @@ -1 +1 @@ -NDMenu.OnSectionLoaded("classes.js",[[1,"Color"],[1,"Extensions"],[1,"Size"],[1,"TiledChunk"],[1,"TiledEllipse"],[1,"TiledException"],[1,"TiledGroup"],[1,"TiledImage"],[1,"TiledLayer"],[1,"TiledMap"],[1,"TiledMapTileset"],[1,"TiledObject"],[1,"TiledPoint"],[1,"TiledPolygon"],[1,"TiledProperty"],[1,"TiledSourceRect"],[1,"TiledTile"],[1,"TiledTileAnimation"],[1,"TiledTileset"]]); \ No newline at end of file +NDMenu.OnSectionLoaded("classes.js",[[1,"Extensions"],[1,"Size"],[1,"TiledChunk"],[1,"TiledEllipse"],[1,"TiledException"],[1,"TiledGroup"],[1,"TiledImage"],[1,"TiledLayer"],[1,"TiledMap"],[1,"TiledMapTileset"],[1,"TiledObject"],[1,"TiledPoint"],[1,"TiledPolygon"],[1,"TiledProperty"],[1,"TiledSourceRect"],[1,"TiledTerrainSet"],[1,"TiledTerrainSetColor"],[1,"TiledTerrainSetTile"],[1,"TiledTile"],[1,"TiledTileAnimation"],[1,"TiledTileset"]]); \ No newline at end of file diff --git a/docs/other/home.html b/docs/other/home.html index 758124b..ece55cf 100644 --- a/docs/other/home.html +++ b/docs/other/home.html @@ -1,6 +1,6 @@  -TiledCSPlus Documentation +TiledCSPlus 4.1 Documentation @@ -10,6 +10,6 @@ -
TiledCSPlus
Source Documentation
+
TiledCSPlus 4.1
Source Documentation
\ No newline at end of file diff --git a/docs/search/index.js b/docs/search/index.js index bdbf83d..c954287 100644 --- a/docs/search/index.js +++ b/docs/search/index.js @@ -1 +1 @@ -NDSearch.OnPrefixIndexLoaded(["a","ani","asi","b","bac","chu","cla","col","dat","dur","ell","emb","equ","ext","fir","fli","g","get","gid","gro","hei","id","ima","inf","ist","lay","loc","map","mar","nam","obj","off","opa","ori","par","poi","pol","pos","pro","r","ren","rot","shi","siz","sou","spa","ter","til","tin","typ","val","vis","wid","x","y"]); \ No newline at end of file +NDSearch.OnPrefixIndexLoaded(["ani","asi","bac","bot","chu","cla","col","dat","dur","ell","emb","ext","fir","get","gid","gro","hei","id","ima","inf","ist","lay","lef","loc","map","mar","nam","obj","off","opa","ori","par","poi","pol","pos","pro","ren","rig","rot","shi","siz","sou","spa","ter","til","tin","top","typ","val","vis","wid","x","y"]); \ No newline at end of file diff --git a/docs/search/keywords/0061.js b/docs/search/keywords/0061.js deleted file mode 100644 index 180b4f2..0000000 --- a/docs/search/keywords/0061.js +++ /dev/null @@ -1 +0,0 @@ -NDSearch.OnPrefixDataLoaded("a",["Property"],[["A",,[["TiledCSPlus.Color",,,,0,"File:TiledModels.cs:TiledCSPlus.Color.A","CSharpClass:TiledCSPlus.Color:A"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/0062.js b/docs/search/keywords/0062.js deleted file mode 100644 index 359c88b..0000000 --- a/docs/search/keywords/0062.js +++ /dev/null @@ -1 +0,0 @@ -NDSearch.OnPrefixDataLoaded("b",["Property"],[["B",,[["TiledCSPlus.Color",,,,0,"File:TiledModels.cs:TiledCSPlus.Color.B","CSharpClass:TiledCSPlus.Color:B"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/0062006f0074.js b/docs/search/keywords/0062006f0074.js new file mode 100644 index 0000000..6c8460a --- /dev/null +++ b/docs/search/keywords/0062006f0074.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("bot",["Property"],[["Bottom",,[["TiledCSPlus.TiledTerrainSetTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetTile.Bottom","CSharpClass:TiledCSPlus.TiledTerrainSetTile:Bottom"]]],["BottomLeft",,[["TiledCSPlus.TiledTerrainSetTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetTile.BottomLeft","CSharpClass:TiledCSPlus.TiledTerrainSetTile:BottomLeft"]]],["BottomRight",,[["TiledCSPlus.TiledTerrainSetTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetTile.BottomRight","CSharpClass:TiledCSPlus.TiledTerrainSetTile:BottomRight"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/0063006c0061.js b/docs/search/keywords/0063006c0061.js index f5ac58b..3cf76ff 100644 --- a/docs/search/keywords/0063006c0061.js +++ b/docs/search/keywords/0063006c0061.js @@ -1 +1 @@ -NDSearch.OnPrefixDataLoaded("cla",["Property"],[["Class",,[["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Class","CSharpClass:TiledCSPlus.TiledLayer:Class"],["TiledCSPlus.TiledObject",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledObject.Class","CSharpClass:TiledCSPlus.TiledObject:Class"],["TiledCSPlus.TiledTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTile.Class","CSharpClass:TiledCSPlus.TiledTile:Class"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.Class","CSharpClass:TiledCSPlus.TiledTileset:Class"]]]]); \ No newline at end of file +NDSearch.OnPrefixDataLoaded("cla",["Property"],[["Class",,[["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Class","CSharpClass:TiledCSPlus.TiledLayer:Class"],["TiledCSPlus.TiledObject",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledObject.Class","CSharpClass:TiledCSPlus.TiledObject:Class"],["TiledCSPlus.TiledTerrainSet",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSet.Class","CSharpClass:TiledCSPlus.TiledTerrainSet:Class"],["TiledCSPlus.TiledTerrainSetColor",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetColor.Class","CSharpClass:TiledCSPlus.TiledTerrainSetColor:Class"],["TiledCSPlus.TiledTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTile.Class","CSharpClass:TiledCSPlus.TiledTile:Class"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.Class","CSharpClass:TiledCSPlus.TiledTileset:Class"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/0063006f006c.js b/docs/search/keywords/0063006f006c.js index c9b21d5..1867ebb 100644 --- a/docs/search/keywords/0063006f006c.js +++ b/docs/search/keywords/0063006f006c.js @@ -1 +1 @@ -NDSearch.OnPrefixDataLoaded("col",["Class","Property"],[["Color",,[["TiledCSPlus",,,,0,"File:TiledModels.cs:TiledCSPlus.Color","CSharpClass:TiledCSPlus.Color"]]],["Columns",,[["TiledCSPlus.TiledTileset",,,,1,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.Columns","CSharpClass:TiledCSPlus.TiledTileset:Columns"]]]]); \ No newline at end of file +NDSearch.OnPrefixDataLoaded("col",["Property"],[["Color",,[["TiledCSPlus.TiledTerrainSetColor",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetColor.Color","CSharpClass:TiledCSPlus.TiledTerrainSetColor:Color"]]],["Columns",,[["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.Columns","CSharpClass:TiledCSPlus.TiledTileset:Columns"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/006500710075.js b/docs/search/keywords/006500710075.js deleted file mode 100644 index 6f190a4..0000000 --- a/docs/search/keywords/006500710075.js +++ /dev/null @@ -1 +0,0 @@ -NDSearch.OnPrefixDataLoaded("equ",["Function"],[["Equals",,[["TiledCSPlus.Color",,,,0,"File:TiledModels.cs:TiledCSPlus.Color.Equals","CSharpClass:TiledCSPlus.Color:Equals"],["TiledCSPlus.Size",,,,0,"File:TiledModels.cs:TiledCSPlus.Size.Equals","CSharpClass:TiledCSPlus.Size:Equals"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/0066006c0069.js b/docs/search/keywords/0066006c0069.js deleted file mode 100644 index 3749c07..0000000 --- a/docs/search/keywords/0066006c0069.js +++ /dev/null @@ -1 +0,0 @@ -NDSearch.OnPrefixDataLoaded("fli",["Constant"],[["FLIPPED_DIAGONALLY_FLAG",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.FLIPPED_DIAGONALLY_FLAG","CSharpClass:TiledCSPlus.TiledMap:FLIPPED_DIAGONALLY_FLAG"]]],["FLIPPED_HORIZONTALLY_FLAG",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.FLIPPED_HORIZONTALLY_FLAG","CSharpClass:TiledCSPlus.TiledMap:FLIPPED_HORIZONTALLY_FLAG"]]],["FLIPPED_VERTICALLY_FLAG",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.FLIPPED_VERTICALLY_FLAG","CSharpClass:TiledCSPlus.TiledMap:FLIPPED_VERTICALLY_FLAG"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/0067.js b/docs/search/keywords/0067.js deleted file mode 100644 index 4cb6442..0000000 --- a/docs/search/keywords/0067.js +++ /dev/null @@ -1 +0,0 @@ -NDSearch.OnPrefixDataLoaded("g",["Property"],[["G",,[["TiledCSPlus.Color",,,,0,"File:TiledModels.cs:TiledCSPlus.Color.G","CSharpClass:TiledCSPlus.Color:G"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/006800650069.js b/docs/search/keywords/006800650069.js index 746f8d9..fc129a1 100644 --- a/docs/search/keywords/006800650069.js +++ b/docs/search/keywords/006800650069.js @@ -1 +1 @@ -NDSearch.OnPrefixDataLoaded("hei",["Property"],[["Height",,[["TiledCSPlus.Size",,,,0,"File:TiledModels.cs:TiledCSPlus.Size.Height","CSharpClass:TiledCSPlus.Size:Height"],["TiledCSPlus.TiledChunk",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledChunk.Height","CSharpClass:TiledCSPlus.TiledChunk:Height"],["TiledCSPlus.TiledImage",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledImage.Height","CSharpClass:TiledCSPlus.TiledImage:Height"],["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Height","CSharpClass:TiledCSPlus.TiledLayer:Height"],["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.Height","CSharpClass:TiledCSPlus.TiledMap:Height"],["TiledCSPlus.TiledSourceRect",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledSourceRect.Height","CSharpClass:TiledCSPlus.TiledSourceRect:Height"]]]]); \ No newline at end of file +NDSearch.OnPrefixDataLoaded("hei",["Property"],[["Height",,[["TiledCSPlus.TiledChunk",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledChunk.Height","CSharpClass:TiledCSPlus.TiledChunk:Height"],["TiledCSPlus.TiledImage",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledImage.Height","CSharpClass:TiledCSPlus.TiledImage:Height"],["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Height","CSharpClass:TiledCSPlus.TiledLayer:Height"],["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.Height","CSharpClass:TiledCSPlus.TiledMap:Height"],["TiledCSPlus.TiledSourceRect",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledSourceRect.Height","CSharpClass:TiledCSPlus.TiledSourceRect:Height"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/006c00650066.js b/docs/search/keywords/006c00650066.js new file mode 100644 index 0000000..12e3b32 --- /dev/null +++ b/docs/search/keywords/006c00650066.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("lef",["Property"],[["Left",,[["TiledCSPlus.TiledTerrainSetTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetTile.Left","CSharpClass:TiledCSPlus.TiledTerrainSetTile:Left"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/006e0061006d.js b/docs/search/keywords/006e0061006d.js index 1f16b93..fb061fd 100644 --- a/docs/search/keywords/006e0061006d.js +++ b/docs/search/keywords/006e0061006d.js @@ -1 +1 @@ -NDSearch.OnPrefixDataLoaded("nam",["Property"],[["Name",,[["TiledCSPlus.TiledGroup",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledGroup.Name","CSharpClass:TiledCSPlus.TiledGroup:Name"],["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Name","CSharpClass:TiledCSPlus.TiledLayer:Name"],["TiledCSPlus.TiledObject",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledObject.Name","CSharpClass:TiledCSPlus.TiledObject:Name"],["TiledCSPlus.TiledProperty",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledProperty.Name","CSharpClass:TiledCSPlus.TiledProperty:Name"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.Name","CSharpClass:TiledCSPlus.TiledTileset:Name"]]]]); \ No newline at end of file +NDSearch.OnPrefixDataLoaded("nam",["Property"],[["Name",,[["TiledCSPlus.TiledGroup",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledGroup.Name","CSharpClass:TiledCSPlus.TiledGroup:Name"],["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Name","CSharpClass:TiledCSPlus.TiledLayer:Name"],["TiledCSPlus.TiledObject",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledObject.Name","CSharpClass:TiledCSPlus.TiledObject:Name"],["TiledCSPlus.TiledProperty",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledProperty.Name","CSharpClass:TiledCSPlus.TiledProperty:Name"],["TiledCSPlus.TiledTerrainSet",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSet.Name","CSharpClass:TiledCSPlus.TiledTerrainSet:Name"],["TiledCSPlus.TiledTerrainSetColor",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetColor.Name","CSharpClass:TiledCSPlus.TiledTerrainSetColor:Name"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.Name","CSharpClass:TiledCSPlus.TiledTileset:Name"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/007000610072.js b/docs/search/keywords/007000610072.js index 0e2aedd..d1d3df4 100644 --- a/docs/search/keywords/007000610072.js +++ b/docs/search/keywords/007000610072.js @@ -1 +1 @@ -NDSearch.OnPrefixDataLoaded("par",["Property","Variable","Function"],[["ParallaxOriginX",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParallaxOriginX","CSharpClass:TiledCSPlus.TiledMap:ParallaxOriginX"]]],["ParallaxOriginY",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParallaxOriginY","CSharpClass:TiledCSPlus.TiledMap:ParallaxOriginY"]]],["Parrallax",,[["TiledCSPlus.TiledLayer",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Parrallax","CSharpClass:TiledCSPlus.TiledLayer:Parrallax"]]],["ParseAnimations",,[["TiledCSPlus.TiledTileset",,,,2,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.ParseAnimations","CSharpClass:TiledCSPlus.TiledTileset:ParseAnimations"]]],["ParseColor",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseColor","CSharpClass:TiledCSPlus.TiledMap:ParseColor"]]],["ParseGroups",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseGroups","CSharpClass:TiledCSPlus.TiledMap:ParseGroups"]]],["ParseImage",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseImage","CSharpClass:TiledCSPlus.TiledMap:ParseImage"],["TiledCSPlus.TiledTileset",,,,2,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.ParseImage","CSharpClass:TiledCSPlus.TiledTileset:ParseImage"]]],["ParseLayer",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseLayer","CSharpClass:TiledCSPlus.TiledMap:ParseLayer"]]],["ParseLayers",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseLayers","CSharpClass:TiledCSPlus.TiledMap:ParseLayers"]]],["ParseObjectGid",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseObjectGid","CSharpClass:TiledCSPlus.TiledMap:ParseObjectGid"]]],["ParseObjects",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseObjects","CSharpClass:TiledCSPlus.TiledMap:ParseObjects"],["TiledCSPlus.TiledTileset",,,,2,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.ParseObjects","CSharpClass:TiledCSPlus.TiledTileset:ParseObjects"]]],["ParseOffset",,[["TiledCSPlus.TiledTileset",,,,2,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.ParseOffset","CSharpClass:TiledCSPlus.TiledTileset:ParseOffset"]]],["ParseProperties",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseProperties","CSharpClass:TiledCSPlus.TiledMap:ParseProperties"],["TiledCSPlus.TiledTileset",,,,2,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.ParseProperties","CSharpClass:TiledCSPlus.TiledTileset:ParseProperties"]]],["ParseTileLayerData",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseTileLayerData","CSharpClass:TiledCSPlus.TiledMap:ParseTileLayerData"]]],["ParseTileLayerDataAsBase64",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseTileLayerDataAsBase64","CSharpClass:TiledCSPlus.TiledMap:ParseTileLayerDataAsBase64"]]],["ParseTileLayerDataAsCSV",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseTileLayerDataAsCSV","CSharpClass:TiledCSPlus.TiledMap:ParseTileLayerDataAsCSV"]]],["ParseTiles",,[["TiledCSPlus.TiledTileset",,,,2,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.ParseTiles","CSharpClass:TiledCSPlus.TiledTileset:ParseTiles"]]],["ParseTilesets",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseTilesets","CSharpClass:TiledCSPlus.TiledMap:ParseTilesets"]]],["ParseXml",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseXml","CSharpClass:TiledCSPlus.TiledMap:ParseXml"],["TiledCSPlus.TiledTileset",,,,2,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.ParseXml","CSharpClass:TiledCSPlus.TiledTileset:ParseXml"]]]]); \ No newline at end of file +NDSearch.OnPrefixDataLoaded("par",["Property","Variable","Function"],[["ParallaxOriginX",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParallaxOriginX","CSharpClass:TiledCSPlus.TiledMap:ParallaxOriginX"]]],["ParallaxOriginY",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParallaxOriginY","CSharpClass:TiledCSPlus.TiledMap:ParallaxOriginY"]]],["Parrallax",,[["TiledCSPlus.TiledLayer",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Parrallax","CSharpClass:TiledCSPlus.TiledLayer:Parrallax"]]],["ParseXml",,[["TiledCSPlus.TiledMap",,,,2,"File:TiledMap.cs:TiledCSPlus.TiledMap.ParseXml","CSharpClass:TiledCSPlus.TiledMap:ParseXml"],["TiledCSPlus.TiledTileset",,,,2,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.ParseXml","CSharpClass:TiledCSPlus.TiledTileset:ParseXml"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/00700072006f.js b/docs/search/keywords/00700072006f.js index fa64b4c..0a86f3f 100644 --- a/docs/search/keywords/00700072006f.js +++ b/docs/search/keywords/00700072006f.js @@ -1 +1 @@ -NDSearch.OnPrefixDataLoaded("pro",["Property"],[["Properties",,[["TiledCSPlus.TiledGroup",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledGroup.Properties(2)","CSharpClass:TiledCSPlus.TiledGroup:Properties(2)"],["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Properties(3)","CSharpClass:TiledCSPlus.TiledLayer:Properties(3)"],["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.Properties(2)","CSharpClass:TiledCSPlus.TiledMap:Properties(2)"],["TiledCSPlus.TiledObject",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledObject.Properties(2)","CSharpClass:TiledCSPlus.TiledObject:Properties(2)"],["TiledCSPlus.TiledTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTile.Properties(2)","CSharpClass:TiledCSPlus.TiledTile:Properties(2)"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.Properties(2)","CSharpClass:TiledCSPlus.TiledTileset:Properties(2)"]]]]); \ No newline at end of file +NDSearch.OnPrefixDataLoaded("pro",["Property"],[["Probability",,[["TiledCSPlus.TiledTerrainSetColor",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetColor.Probability","CSharpClass:TiledCSPlus.TiledTerrainSetColor:Probability"]]],["Properties",,[["TiledCSPlus.TiledGroup",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledGroup.Properties(2)","CSharpClass:TiledCSPlus.TiledGroup:Properties(2)"],["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Properties(3)","CSharpClass:TiledCSPlus.TiledLayer:Properties(3)"],["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.Properties(2)","CSharpClass:TiledCSPlus.TiledMap:Properties(2)"],["TiledCSPlus.TiledObject",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledObject.Properties(2)","CSharpClass:TiledCSPlus.TiledObject:Properties(2)"],["TiledCSPlus.TiledTerrainSet",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSet.Properties(2)","CSharpClass:TiledCSPlus.TiledTerrainSet:Properties(2)"],["TiledCSPlus.TiledTerrainSetColor",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetColor.Properties(2)","CSharpClass:TiledCSPlus.TiledTerrainSetColor:Properties(2)"],["TiledCSPlus.TiledTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTile.Properties(2)","CSharpClass:TiledCSPlus.TiledTile:Properties(2)"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.Properties(2)","CSharpClass:TiledCSPlus.TiledTileset:Properties(2)"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/0072.js b/docs/search/keywords/0072.js deleted file mode 100644 index c572a79..0000000 --- a/docs/search/keywords/0072.js +++ /dev/null @@ -1 +0,0 @@ -NDSearch.OnPrefixDataLoaded("r",["Property"],[["R",,[["TiledCSPlus.Color",,,,0,"File:TiledModels.cs:TiledCSPlus.Color.R","CSharpClass:TiledCSPlus.Color:R"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/007200690067.js b/docs/search/keywords/007200690067.js new file mode 100644 index 0000000..50187b5 --- /dev/null +++ b/docs/search/keywords/007200690067.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("rig",["Property"],[["Right",,[["TiledCSPlus.TiledTerrainSetTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetTile.Right","CSharpClass:TiledCSPlus.TiledTerrainSetTile:Right"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/007400650072.js b/docs/search/keywords/007400650072.js index 2c79479..2994840 100644 --- a/docs/search/keywords/007400650072.js +++ b/docs/search/keywords/007400650072.js @@ -1 +1 @@ -NDSearch.OnPrefixDataLoaded("ter",["Property"],[["Terrain",,[["TiledCSPlus.TiledTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTile.Terrain","CSharpClass:TiledCSPlus.TiledTile:Terrain"]]]]); \ No newline at end of file +NDSearch.OnPrefixDataLoaded("ter",["Property"],[["Terrain",,[["TiledCSPlus.TiledTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTile.Terrain","CSharpClass:TiledCSPlus.TiledTile:Terrain"]]],["TerrainSetColors",,[["TiledCSPlus.TiledTerrainSet",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSet.TerrainSetColors","CSharpClass:TiledCSPlus.TiledTerrainSet:TerrainSetColors"]]],["TerrainSets",,[["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TerrainSets","CSharpClass:TiledCSPlus.TiledTileset:TerrainSets"]]],["TerrainSetTiles",,[["TiledCSPlus.TiledTerrainSet",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSet.TerrainSetTiles","CSharpClass:TiledCSPlus.TiledTerrainSet:TerrainSetTiles"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/00740069006c.js b/docs/search/keywords/00740069006c.js index 5aa53d8..ad7715f 100644 --- a/docs/search/keywords/00740069006c.js +++ b/docs/search/keywords/00740069006c.js @@ -1 +1 @@ -NDSearch.OnPrefixDataLoaded("til",["Property","Class","Enumeration"],[["TileCount",,[["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TileCount","CSharpClass:TiledCSPlus.TiledTileset:TileCount"]]],["TiledChunk",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledChunk","CSharpClass:TiledCSPlus.TiledChunk"]]],["TiledEllipse",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledEllipse","CSharpClass:TiledCSPlus.TiledEllipse"]]],["TiledException",,[["TiledCSPlus",,,,1,"File:Exceptions.cs:TiledCSPlus.TiledException","CSharpClass:TiledCSPlus.TiledException"]]],["TiledGroup",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledGroup","CSharpClass:TiledCSPlus.TiledGroup"]]],["TiledImage",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledImage","CSharpClass:TiledCSPlus.TiledImage"]]],["TiledLayer",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledLayer","CSharpClass:TiledCSPlus.TiledLayer"]]],["TiledLayerType",,[["TiledCSPlus",,,,2,"File:Enums.cs:TiledCSPlus.TiledLayerType"]]],["TiledMap",,[["TiledCSPlus",,,,1,"File:TiledMap.cs:TiledCSPlus.TiledMap","CSharpClass:TiledCSPlus.TiledMap"]]],["TiledMapTileset",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledMapTileset","CSharpClass:TiledCSPlus.TiledMapTileset"]]],["TiledObject",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledObject","CSharpClass:TiledCSPlus.TiledObject"]]],["TiledPoint",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledPoint","CSharpClass:TiledCSPlus.TiledPoint"]]],["TiledPolygon",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledPolygon","CSharpClass:TiledCSPlus.TiledPolygon"]]],["TiledProperty",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledProperty","CSharpClass:TiledCSPlus.TiledProperty"]]],["TiledPropertyType",,[["TiledCSPlus",,,,2,"File:Enums.cs:TiledCSPlus.TiledPropertyType"]]],["TiledSourceRect",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledSourceRect","CSharpClass:TiledCSPlus.TiledSourceRect"]]],["TiledTile",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledTile","CSharpClass:TiledCSPlus.TiledTile"]]],["TiledTileAnimation",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledTileAnimation","CSharpClass:TiledCSPlus.TiledTileAnimation"]]],["TiledTileset",,[["TiledCSPlus",,,,1,"File:TiledTileset.cs:TiledCSPlus.TiledTileset","CSharpClass:TiledCSPlus.TiledTileset"]]],["TiledVersion",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.TiledVersion","CSharpClass:TiledCSPlus.TiledMap:TiledVersion"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TiledVersion","CSharpClass:TiledCSPlus.TiledTileset:TiledVersion"]]],["TileHeight",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.TileHeight","CSharpClass:TiledCSPlus.TiledMap:TileHeight"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TileHeight","CSharpClass:TiledCSPlus.TiledTileset:TileHeight"]]],["TileId",,[["TiledCSPlus.TiledTileAnimation",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTileAnimation.TileId","CSharpClass:TiledCSPlus.TiledTileAnimation:TileId"]]],["Tiles",,[["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.Tiles","CSharpClass:TiledCSPlus.TiledTileset:Tiles"]]],["Tilesets",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.Tilesets","CSharpClass:TiledCSPlus.TiledMap:Tilesets"]]],["TilesetVersion",,[["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TilesetVersion","CSharpClass:TiledCSPlus.TiledTileset:TilesetVersion"]]],["TileWidth",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.TileWidth","CSharpClass:TiledCSPlus.TiledMap:TileWidth"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TileWidth","CSharpClass:TiledCSPlus.TiledTileset:TileWidth"]]]]); \ No newline at end of file +NDSearch.OnPrefixDataLoaded("til",["Property","Class","Enumeration"],[["Tile",,[["TiledCSPlus.TiledTerrainSet",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSet.Tile","CSharpClass:TiledCSPlus.TiledTerrainSet:Tile"],["TiledCSPlus.TiledTerrainSetColor",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetColor.Tile","CSharpClass:TiledCSPlus.TiledTerrainSetColor:Tile"]]],["TileCount",,[["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TileCount","CSharpClass:TiledCSPlus.TiledTileset:TileCount"]]],["TiledChunk",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledChunk","CSharpClass:TiledCSPlus.TiledChunk"]]],["TiledEllipse",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledEllipse","CSharpClass:TiledCSPlus.TiledEllipse"]]],["TiledException",,[["TiledCSPlus",,,,1,"File:Exceptions.cs:TiledCSPlus.TiledException","CSharpClass:TiledCSPlus.TiledException"]]],["TiledGroup",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledGroup","CSharpClass:TiledCSPlus.TiledGroup"]]],["TiledImage",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledImage","CSharpClass:TiledCSPlus.TiledImage"]]],["TiledLayer",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledLayer","CSharpClass:TiledCSPlus.TiledLayer"]]],["TiledLayerType",,[["TiledCSPlus",,,,2,"File:Enums.cs:TiledCSPlus.TiledLayerType"]]],["TiledMap",,[["TiledCSPlus",,,,1,"File:TiledMap.cs:TiledCSPlus.TiledMap","CSharpClass:TiledCSPlus.TiledMap"]]],["TiledMapTileset",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledMapTileset","CSharpClass:TiledCSPlus.TiledMapTileset"]]],["TiledObject",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledObject","CSharpClass:TiledCSPlus.TiledObject"]]],["TiledPoint",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledPoint","CSharpClass:TiledCSPlus.TiledPoint"]]],["TiledPolygon",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledPolygon","CSharpClass:TiledCSPlus.TiledPolygon"]]],["TiledProperty",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledProperty","CSharpClass:TiledCSPlus.TiledProperty"]]],["TiledPropertyType",,[["TiledCSPlus",,,,2,"File:Enums.cs:TiledCSPlus.TiledPropertyType"]]],["TiledSourceRect",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledSourceRect","CSharpClass:TiledCSPlus.TiledSourceRect"]]],["TiledTerrainSet",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSet","CSharpClass:TiledCSPlus.TiledTerrainSet"]]],["TiledTerrainSetColor",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetColor","CSharpClass:TiledCSPlus.TiledTerrainSetColor"]]],["TiledTerrainSetTile",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetTile","CSharpClass:TiledCSPlus.TiledTerrainSetTile"]]],["TiledTerrainSetType",,[["TiledCSPlus",,,,2,"File:Enums.cs:TiledCSPlus.TiledTerrainSetType"]]],["TiledTile",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledTile","CSharpClass:TiledCSPlus.TiledTile"]]],["TiledTileAnimation",,[["TiledCSPlus",,,,1,"File:TiledModels.cs:TiledCSPlus.TiledTileAnimation","CSharpClass:TiledCSPlus.TiledTileAnimation"]]],["TiledTileLayerFormat",,[["TiledCSPlus",,,,2,"File:Enums.cs:TiledCSPlus.TiledTileLayerFormat"]]],["TiledTileset",,[["TiledCSPlus",,,,1,"File:TiledTileset.cs:TiledCSPlus.TiledTileset","CSharpClass:TiledCSPlus.TiledTileset"]]],["TiledVersion",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.TiledVersion","CSharpClass:TiledCSPlus.TiledMap:TiledVersion"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TiledVersion","CSharpClass:TiledCSPlus.TiledTileset:TiledVersion"]]],["TileHeight",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.TileHeight","CSharpClass:TiledCSPlus.TiledMap:TileHeight"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TileHeight","CSharpClass:TiledCSPlus.TiledTileset:TileHeight"]]],["TileId",,[["TiledCSPlus.TiledTileAnimation",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTileAnimation.TileId","CSharpClass:TiledCSPlus.TiledTileAnimation:TileId"]]],["TileLayerFormat",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.TileLayerFormat","CSharpClass:TiledCSPlus.TiledMap:TileLayerFormat"]]],["Tiles",,[["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.Tiles","CSharpClass:TiledCSPlus.TiledTileset:Tiles"]]],["Tilesets",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.Tilesets","CSharpClass:TiledCSPlus.TiledMap:Tilesets"]]],["TilesetVersion",,[["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TilesetVersion","CSharpClass:TiledCSPlus.TiledTileset:TilesetVersion"]]],["TileWidth",,[["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.TileWidth","CSharpClass:TiledCSPlus.TiledMap:TileWidth"],["TiledCSPlus.TiledTileset",,,,0,"File:TiledTileset.cs:TiledCSPlus.TiledTileset.TileWidth","CSharpClass:TiledCSPlus.TiledTileset:TileWidth"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/0074006f0070.js b/docs/search/keywords/0074006f0070.js new file mode 100644 index 0000000..9d87bcc --- /dev/null +++ b/docs/search/keywords/0074006f0070.js @@ -0,0 +1 @@ +NDSearch.OnPrefixDataLoaded("top",["Property"],[["Top",,[["TiledCSPlus.TiledTerrainSetTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetTile.Top","CSharpClass:TiledCSPlus.TiledTerrainSetTile:Top"]]],["TopLeft",,[["TiledCSPlus.TiledTerrainSetTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetTile.TopLeft","CSharpClass:TiledCSPlus.TiledTerrainSetTile:TopLeft"]]],["TopRight",,[["TiledCSPlus.TiledTerrainSetTile",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSetTile.TopRight","CSharpClass:TiledCSPlus.TiledTerrainSetTile:TopRight"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/007400790070.js b/docs/search/keywords/007400790070.js index 4745330..542c741 100644 --- a/docs/search/keywords/007400790070.js +++ b/docs/search/keywords/007400790070.js @@ -1 +1 @@ -NDSearch.OnPrefixDataLoaded("typ",["Property"],[["Type",,[["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Type","CSharpClass:TiledCSPlus.TiledLayer:Type"],["TiledCSPlus.TiledProperty",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledProperty.Type","CSharpClass:TiledCSPlus.TiledProperty:Type"]]]]); \ No newline at end of file +NDSearch.OnPrefixDataLoaded("typ",["Property"],[["Type",,[["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Type","CSharpClass:TiledCSPlus.TiledLayer:Type"],["TiledCSPlus.TiledProperty",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledProperty.Type","CSharpClass:TiledCSPlus.TiledProperty:Type"],["TiledCSPlus.TiledTerrainSet",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledTerrainSet.Type","CSharpClass:TiledCSPlus.TiledTerrainSet:Type"]]]]); \ No newline at end of file diff --git a/docs/search/keywords/007700690064.js b/docs/search/keywords/007700690064.js index 466160b..3b8ad0a 100644 --- a/docs/search/keywords/007700690064.js +++ b/docs/search/keywords/007700690064.js @@ -1 +1 @@ -NDSearch.OnPrefixDataLoaded("wid",["Property"],[["Width",,[["TiledCSPlus.Size",,,,0,"File:TiledModels.cs:TiledCSPlus.Size.Width","CSharpClass:TiledCSPlus.Size:Width"],["TiledCSPlus.TiledChunk",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledChunk.Width","CSharpClass:TiledCSPlus.TiledChunk:Width"],["TiledCSPlus.TiledImage",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledImage.Width","CSharpClass:TiledCSPlus.TiledImage:Width"],["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Width","CSharpClass:TiledCSPlus.TiledLayer:Width"],["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.Width","CSharpClass:TiledCSPlus.TiledMap:Width"],["TiledCSPlus.TiledSourceRect",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledSourceRect.Width","CSharpClass:TiledCSPlus.TiledSourceRect:Width"]]]]); \ No newline at end of file +NDSearch.OnPrefixDataLoaded("wid",["Property"],[["Width",,[["TiledCSPlus.TiledChunk",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledChunk.Width","CSharpClass:TiledCSPlus.TiledChunk:Width"],["TiledCSPlus.TiledImage",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledImage.Width","CSharpClass:TiledCSPlus.TiledImage:Width"],["TiledCSPlus.TiledLayer",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledLayer.Width","CSharpClass:TiledCSPlus.TiledLayer:Width"],["TiledCSPlus.TiledMap",,,,0,"File:TiledMap.cs:TiledCSPlus.TiledMap.Width","CSharpClass:TiledCSPlus.TiledMap:Width"],["TiledCSPlus.TiledSourceRect",,,,0,"File:TiledModels.cs:TiledCSPlus.TiledSourceRect.Width","CSharpClass:TiledCSPlus.TiledSourceRect:Width"]]]]); \ No newline at end of file