blob: 32c93b6b2f7776cb2aa15a9972b2fc9888cf1007 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# frozen_string_literal: true
FelFlame::Components.new('Renderable', z: 0)
# 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
|