Update gdscript_advanced.rst

Fix 2 typos.
This commit is contained in:
i-need-to-tell-you-something
2017-12-29 22:26:26 +02:00
committed by GitHub
parent 3d015b0c7c
commit 6fa4bce2de

View File

@@ -107,7 +107,7 @@ Pointers & referencing:
In static languages such as C or C++ (and to some extent Java and C#),
there is a distinction between a variable and a pointer/reference to a
variable. The later allows the object to be modified by other functions
variable. The latter allows the object to be modified by other functions
by passing a reference to the original one.
In C# or Java, everything not a built-in type (int, float, sometimes
@@ -293,7 +293,7 @@ easily with dictionaries. Here's a simple battleship game example:
Dictionaries can also be used as data markup or quick structures. While
GDScript dictionaries resemble python dictionaries, it also supports Lua
style syntax an indexing, which makes it very useful for writing initial
style syntax and indexing, which makes it very useful for writing initial
states and quick structs:
::