mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2025-01-08 15:09:53 +01:00
14 lines
226 B
GDScript3
14 lines
226 B
GDScript3
|
tool
|
||
|
extends Line2D
|
||
|
|
||
|
export (Color) var inner_color := Color() setget set_inner_color
|
||
|
|
||
|
|
||
|
func _draw() -> void:
|
||
|
draw_colored_polygon(points, inner_color)
|
||
|
|
||
|
|
||
|
func set_inner_color(val: Color) -> void:
|
||
|
inner_color = val
|
||
|
update()
|