From be8f54e75a4c2b91a41dbe37f6c41b5cf0446f12 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Mon, 8 Jun 2015 21:43:15 -0300 Subject: [PATCH] Updated tutorial_gdscript_efficiently (markdown) --- tutorial_gdscript_efficiently.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorial_gdscript_efficiently.md b/tutorial_gdscript_efficiently.md index 697c1d3..4330116 100644 --- a/tutorial_gdscript_efficiently.md +++ b/tutorial_gdscript_efficiently.md @@ -385,7 +385,7 @@ _"When I see a bird that walks like a duck and swims like a duck and quacks like In this case, it translates to: -_"If the object can be smashed, I don't care what it is, just smash it" +_"If the object can be smashed, don't care what it is, just smash it."_ Yes, we should call it Hulk typing instead. Anyway though, there exists the possibility of the object being hit not having a smash() function. Some dynamically typed languages simply ignore a method call when it doesn't exist (like Objective C), but GDScript is more strict, so checking if the function exists is desirable: