Class: Game_SelfVariables

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

Overview

Author:

  • Leikt

Instance Method Summary collapse

Constructor Details

#initializeGame_SelfVariables

Default initialization



970
971
# File 'docs/00600_Script_RMXP.rb', line 970

def initialize
end

Instance Method Details

#[](key) ⇒ Object

Fetch the value of a self variable

Parameters:

  • key (Array)

    the key that identify the self variable

Returns:



975
976
# File 'docs/00600_Script_RMXP.rb', line 975

def [](key)
end

#[]=(key, value)

Set the value of a self variable

Parameters:

  • key (Array)

    the key that identify the self variable

  • value (Object)

    the new value



980
981
# File 'docs/00600_Script_RMXP.rb', line 980

def []=(key, value)
end

#do(key, operation = nil, value = nil)

Perform an action on the specific variable and return the result

Parameters:

  • key (Array)

    the key that identify the self variable

  • operation (Symbol) (defaults to: nil)

    symbol of the operation to do on the variable

  • value (Object) (defaults to: nil)

    value associated to the operation



986
987
# File 'docs/00600_Script_RMXP.rb', line 986

def do(key, operation = nil, value = nil)
end