Hello, Again with my Silly Questions :wink:, but This is something that don't let me sleep.
Well, I see in a lot of SDK scripts, that there is a super at the begin of the, for example Scene methods definitions, or in the update.
Now, I only copied that, but now, I see scripts that uses at the end of the scene, example:
but, there is also:
Why?, I don't understand this?, what's the function for super, and why sometimes is below or above...??
Thanks.
Well, I see in a lot of SDK scripts, that there is a super at the begin of the, for example Scene methods definitions, or in the update.
Now, I only copied that, but now, I see scripts that uses at the end of the scene, example:
Code:
 #--------------------------------------------------------------------------
 # * Main Processing : Spriteset Initialization
 #--------------------------------------------------------------------------
 def main_spriteset
  super
  @spriteset = Spriteset_Map.new
 end
but, there is also:
Code:
 #--------------------------------------------------------------------------
 # * Main Processing : Spriteset Initialization
 #--------------------------------------------------------------------------
 def main_spriteset
  @spriteset = Spriteset_Map.new
  super
 end
Why?, I don't understand this?, what's the function for super, and why sometimes is below or above...??
Thanks.