Replace XML codeblock spaces with tabs
This commit is contained in:
parent
5dd76968d8
commit
13f642d959
122 changed files with 2407 additions and 2432 deletions
|
|
@ -102,12 +102,12 @@
|
|||
Returns the [TileData] object associated with the given cell, or [code]null[/code] if the cell does not exist or is not a [TileSetAtlasSource].
|
||||
[codeblock]
|
||||
func get_clicked_tile_power():
|
||||
var clicked_cell = tile_map_layer.local_to_map(tile_map_layer.get_local_mouse_position())
|
||||
var data = tile_map_layer.get_cell_tile_data(clicked_cell)
|
||||
if data:
|
||||
return data.get_custom_data("power")
|
||||
else:
|
||||
return 0
|
||||
var clicked_cell = tile_map_layer.local_to_map(tile_map_layer.get_local_mouse_position())
|
||||
var data = tile_map_layer.get_cell_tile_data(clicked_cell)
|
||||
if data:
|
||||
return data.get_custom_data("power")
|
||||
else:
|
||||
return 0
|
||||
[/codeblock]
|
||||
</description>
|
||||
</method>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue