diff options
| author | MattUV | 2017-04-05 20:51:31 +0200 |
|---|---|---|
| committer | Matthieu Huvé | 2017-04-06 23:27:55 +0200 |
| commit | 6b5305b972e832f95f311ab4f5bc840615a0ef57 (patch) | |
| tree | 78ec61286390cebb55dd1bbf23a631ecfbc653ae /editor/code_editor.cpp | |
| parent | 454f53c77659721a529c48fd4be6bf80d33c0082 (diff) | |
| download | godot-6b5305b972e832f95f311ab4f5bc840615a0ef57.tar.gz godot-6b5305b972e832f95f311ab4f5bc840615a0ef57.tar.zst godot-6b5305b972e832f95f311ab4f5bc840615a0ef57.zip | |
Add set/get_collision_layer/mask_bit() to TileMaps
Add four methods to the TileMap node to make collision layers and masks be modified bit by bit (like PhysicBody2Ds and RayCast2Ds:
* set_collision_layer_bit()
* set_collision_mask_bit()
* get_collision_layer_bit()
* get_collision_mask_bit()
To comply with collision layers' renaming from https://github.com/godotengine/godot/issues/5696 , the method names are NOT set/get_layer_mask_bit()
Diffstat (limited to 'editor/code_editor.cpp')
0 files changed, 0 insertions, 0 deletions
