Class: Game_Variables

Inherits:
Array show all
Defined in:
docs/00600_Script_RMXP.rb

Overview

Class that describe game variables

Instance Method Summary collapse

Constructor Details

#initializeGame_Variables

default initialization of game variables



16
17
# File 'docs/00600_Script_RMXP.rb', line 16

def initialize
end

Instance Method Details

#[](index)

Note:

return 0 if the variable is outside of the array.

Getter

Parameters:

  • index (Integer)

    the index of the variable



21
22
# File 'docs/00600_Script_RMXP.rb', line 21

def [](index)
end

#[]=(index, value)

Setter

Parameters:

  • index (Integer)

    the index of the variable in the Array

  • value (Integer)

    the new value of the variable



26
27
# File 'docs/00600_Script_RMXP.rb', line 26

def []=(index, value)
end