This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
modify_navigation [2017/06/20 11:55] – justin | modify_navigation [2020/04/21 11:23] – justin | ||
---|---|---|---|
Line 4: | Line 4: | ||
Modifies the type of navigation and interaction allowed between two adjacent tiles. The acceptable values for navigation type are listed and explained on the [[Navigation and Interaction]] page. | Modifies the type of navigation and interaction allowed between two adjacent tiles. The acceptable values for navigation type are listed and explained on the [[Navigation and Interaction]] page. | ||
+ | ====Signature: | ||
<code python> | <code python> | ||
- | modify_navigation(first_tile_id, second_tile_id, navigation_type) | + | modify_navigation(first_tile, second_tile, navigation_type) |
</ | </ | ||
^Argument^Description^Type^Required^ | ^Argument^Description^Type^Required^ | ||
- | |first_tile_id|ID of the first tile.|[[String]]|Yes| | + | |first_tile|Tile to connect navigation from.|[[Entity]]|Yes| |
- | |second_tile_id|ID of the second tile.|[[String]]|Yes| | + | |second_tile|Tile to connect navigation to.|[[Entity]]|Yes| |
|navigation_type|Navigation type to set between the two tiles.|[[navigation_and_interaction|Navigation Type]]|Yes| | |navigation_type|Navigation type to set between the two tiles.|[[navigation_and_interaction|Navigation Type]]|Yes| | ||
Line 18: | Line 19: | ||
====Example: | ====Example: | ||
- | < | + | < |
modify_navigation(" | modify_navigation(" | ||
</ | </ |