Sha256: 951b4571bacc1ede6ad12af38a8e76553a4cd3d01e766846b7a3995104a1d0f9

Contents?: true

Size: 246 Bytes

Versions: 2

Compression:

Stored size: 246 Bytes

Contents

class Components
  class Overworld < Helper::Level
    attr_accessor :x, :y

    def initialize
      @x = 0
      @y = 0
    end

    def set(**opts)
      opts.each do |key, value|
        self.send "#{key}=", value
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
felflame-1.0.1 deprecated/components/07_overworld.rb
felflame-1.0.0 deprecated/components/07_overworld.rb