diff options
author | reduz <reduzio@gmail.com> | 2015-12-29 14:47:13 -0300 |
---|---|---|
committer | reduz <reduzio@gmail.com> | 2015-12-29 14:47:13 -0300 |
commit | 5063cd7757191d62355f4d1a7bb16abc288f9212 (patch) | |
tree | 0f2e18f3cdde53d8f3c1976d782fc7bf8a6a5324 /scene/2d/tile_map.h | |
parent | 77b5b4f4dfcd9d3bc050d3dda84847f1ee088234 (diff) |
-Make tilemap able to change light mask, fixes #2557
Diffstat (limited to 'scene/2d/tile_map.h')
-rw-r--r-- | scene/2d/tile_map.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/tile_map.h b/scene/2d/tile_map.h index 4676d1ef7a..fdf760483d 100644 --- a/scene/2d/tile_map.h +++ b/scene/2d/tile_map.h @@ -253,6 +253,8 @@ public: void set_occluder_light_mask(int p_mask); int get_occluder_light_mask() const; + virtual void set_light_mask(int p_light_mask); + void clear(); TileMap(); |