That my dear sir, is no java technique I've ever learned. In fact since java and AGS script both have the same syntaxual father they aren't that much different. Main ones being the coding conventions (such as setGameSpeed in Java and SetGameSpeed in AGS).
You seem to have random indentions everywhere, and in other places not a single indentation to even HINT at the structure of your code. As a programmer you tend to start using indentations so that the brackets can largely be ignored, IE nobody has to count brackets to see how deep they are into the code if it's already indented to show them how deep they are.
You seem to have random indentions everywhere, and in other places not a single indentation to even HINT at the structure of your code. As a programmer you tend to start using indentations so that the brackets can largely be ignored, IE nobody has to count brackets to see how deep they are into the code if it's already indented to show them how deep they are.