Sha256: 53f3fc6fb6eb06e46a750a5b402bf7dc831854f3795a14fd3b3200e78e33cc5f
Contents?: true
Size: 283 Bytes
Versions: 2
Compression:
Stored size: 283 Bytes
Contents
class Components # If an entity can be rendered on screen class Interactable < Helper::BaseComponent attr_accessor :z def initialize @z = z 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/05_interactable.rb |
felflame-1.0.0 | deprecated/components/05_interactable.rb |