Sha256: 2f8c70de7d3d52bf46b8f4803479424ea706cf06fd9f8dc04465a0fb510f42d9

Contents?: true

Size: 338 Bytes

Versions: 2

Compression:

Stored size: 338 Bytes

Contents

FelFlame::Components.new('Renderable', z: 0)
=begin
class Components
  # If an entity can be rendered on screen
  class Renderable < Helper::BaseComponent
    attr_accessor :z

    def initialize
      @z = 0
    end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
felflame-1.0.1 deprecated/components/00_renderable.rb
felflame-1.0.0 deprecated/components/00_renderable.rb