RGSS Script References

@ in RGSS scripts ke eng?

Tlhaloso ea @ Syntax ea mangolo a RGSS

E hlalosa phetoho ea mohlala bakeng sa sehlopha. Ho tseba ho bala le ho ngola mefuta e fapaneng ea mofuta ona o boetse o hloka ho theha mekhoa ea li-accessor bakeng sa bona. U ka boela ua sebelisa attr_reader, attr_writer, kapa attr_accessor shortcode ho kenya liopereishene tse amehang ka bo eona.

Khoutu Mohlala:

def initialize
  @battler_name = ""
  @battler_hue = 0
  @hp = 0
  @sp = 0
  @states = []
  @states_turn = {}
  @maxhp_plus = 0
  @maxsp_plus = 0
  @str_plus = 0
  @dex_plus = 0
  @agi_plus = 0
  @int_plus = 0
  @hidden = false
  @immortal = false
  @damage_pop = false
  @damage = nil
  @critical = false
  @animation_id = 0
  @animation_hit = false
  @white_flush = false
  @blink = false
  @current_action = Game_BattleAction.new
end

Tlohela karabo

aterese ya hao ya imeile ke ke ho phatlalatswa. masimo a hlokahala a tšoailoe ka *

Sebaka sena se sebelisa Akismet ho fokotsa spam. Ithute kamoo litlhaloso tsa hau li hlahang kateng.