summaryrefslogtreecommitdiff
path: root/doc/classes/int.xml
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-09-17 19:35:55 +0200
committerGitHub <noreply@github.com>2021-09-17 19:35:55 +0200
commit7762e8b1c1fbabc69769e8df9d6aa2443d309892 (patch)
tree7aed1f940dda8b1351d0384b81b6d81746b5f2e2 /doc/classes/int.xml
parent98a7bf340698d89708aae7c26f0e1416bd6cdc58 (diff)
parent455e142d37c993a0c80ff5241a10ae9327e46d43 (diff)
Merge pull request #52788 from vnen/gdscript-compare-with-null
Diffstat (limited to 'doc/classes/int.xml')
-rw-r--r--doc/classes/int.xml22
1 files changed, 16 insertions, 6 deletions
diff --git a/doc/classes/int.xml b/doc/classes/int.xml
index 32b5fe1012..dd523185df 100644
--- a/doc/classes/int.xml
+++ b/doc/classes/int.xml
@@ -68,6 +68,11 @@
</method>
<method name="operator !=" qualifiers="operator">
<return type="bool" />
+ <description>
+ </description>
+ </method>
+ <method name="operator !=" qualifiers="operator">
+ <return type="bool" />
<argument index="0" name="right" type="float" />
<description>
Returns [code]true[/code] if operands are different from each other.
@@ -173,17 +178,17 @@
</description>
</method>
<method name="operator +" qualifiers="operator">
- <return type="float" />
- <argument index="0" name="right" type="float" />
+ <return type="int" />
+ <argument index="0" name="right" type="int" />
<description>
- Adds an [int] to a [float]. The result is a [float].
+ Adds two integers.
</description>
</method>
<method name="operator +" qualifiers="operator">
- <return type="int" />
- <argument index="0" name="right" type="int" />
+ <return type="float" />
+ <argument index="0" name="right" type="float" />
<description>
- Adds two integers.
+ Adds an [int] to a [float]. The result is a [float].
</description>
</method>
<method name="operator -" qualifiers="operator">
@@ -262,6 +267,11 @@
</method>
<method name="operator ==" qualifiers="operator">
<return type="bool" />
+ <description>
+ </description>
+ </method>
+ <method name="operator ==" qualifiers="operator">
+ <return type="bool" />
<argument index="0" name="right" type="float" />
<description>
Returns [code]true[/code] if the integer is equal to the given [float].