summaryrefslogtreecommitdiff
path: root/scene/2d/path_2d.cpp
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2021-03-09 12:32:35 -0300
committerGeorge Marques <george@gmarqu.es>2021-03-29 10:45:48 -0300
commit85e316a5d58a1866ff4c8738f1703b01629abc32 (patch)
tree5fd740ecc8f89687818f48ca55202cef63402a6a /scene/2d/path_2d.cpp
parent997a8ae9e8fc04a1a0ea222cbd4922a43861a959 (diff)
Add typed arrays to GDScript
- Use `Array[type]` for type-hints. e.g.: `var array: Array[int] = [1, 2, 3]` - Array literals are typed if their storage is typed (variable asssignment of as argument in function all). Otherwise they are untyped.
Diffstat (limited to 'scene/2d/path_2d.cpp')
0 files changed, 0 insertions, 0 deletions