RPG::MoveCommand

The data class for the Move command.

Superclass

Referrer

Attributes

code

Move command code.

parameters

An array containing the Move command's arguments. The contents vary for each command.

Definition

class RPG::MoveCommand
  def initialize(code = 0, parameters = [])
    @code = code
    @parameters = parameters
  end
  attr_accessor :code
  attr_accessor :parameters
end