diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-12-11 14:26:50 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-12-11 14:32:05 +0100 |
commit | 79ba70f7ee1eabeabc7e62256eea3670506a2e7f (patch) | |
tree | 890a4de95d3c35aaf84f56525699e62eed2cd214 /doc/classes | |
parent | dc589a64e6a8c320ae286e3fa8c9533b58a286ca (diff) |
ProximityGroup: Fix access modifiers, rename private methods for clarity
See #36285 which mistakenly added documentation for the whole C++ API, while
some of it is meant to be and stay private as it's not exposed to scripts.
The access modifiers and method prefix were not used properly.
Cleanup code, and rename wrong `group_name` parameters to `method`, as it's a
method name which is being broadcast.
This is a very old class from pre-open source days, chances are that it was
just forgotten and not meant to be kept as is and undocumented.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/ProximityGroup3D.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/ProximityGroup3D.xml b/doc/classes/ProximityGroup3D.xml index 1714c1ec8d..512d55c9a0 100644 --- a/doc/classes/ProximityGroup3D.xml +++ b/doc/classes/ProximityGroup3D.xml @@ -12,7 +12,7 @@ <method name="broadcast"> <return type="void"> </return> - <argument index="0" name="name" type="String"> + <argument index="0" name="method" type="String"> </argument> <argument index="1" name="parameters" type="Variant"> </argument> @@ -30,7 +30,7 @@ </members> <signals> <signal name="broadcast"> - <argument index="0" name="group_name" type="String"> + <argument index="0" name="method" type="String"> </argument> <argument index="1" name="parameters" type="Array"> </argument> |