Steam installeren
inloggen
|
taal
简体中文 (Chinees, vereenvoudigd)
繁體中文 (Chinees, traditioneel)
日本語 (Japans)
한국어 (Koreaans)
ไทย (Thai)
Български (Bulgaars)
Čeština (Tsjechisch)
Dansk (Deens)
Deutsch (Duits)
English (Engels)
Español-España (Spaans - Spanje)
Español - Latinoamérica (Spaans - Latijns-Amerika)
Ελληνικά (Grieks)
Français (Frans)
Italiano (Italiaans)
Bahasa Indonesia (Indonesisch)
Magyar (Hongaars)
Norsk (Noors)
Polski (Pools)
Português (Portugees - Portugal)
Português - Brasil (Braziliaans-Portugees)
Română (Roemeens)
Русский (Russisch)
Suomi (Fins)
Svenska (Zweeds)
Türkçe (Turks)
Tiếng Việt (Vietnamees)
Українська (Oekraïens)
Een vertaalprobleem melden
"=" is assignment.
"==" is comparison.
Right.. next question: Does the game "pass by reference" ?
Can I pass the xPos, yPos to my updatePosition and update those variables, or will it again create new instances?
Then I guess I have to use a global dictionary for the position...which I have not unlocked yet.
The game says, dicts are using references. Hm. Hm.
I was just trying to keep calls at a minimum.
Therefore, I fetch those values once, if possible at the highest possible scope.
Old habit of an embedded developer...
This code outputs:
old string
[1,2,3]