Module: Api::ColorExtension
- Defined in:
- lib/sc2ai/protocol/extensions/color.rb
Overview
Adds additional functionality and fixes quirks with color specifically pertaining to debug commands
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
-
#initialize(r: 0, g: 0, b: 0) ⇒ Object
For lines: r & b are swapped.
Instance Method Details
#initialize(r: 0, g: 0, b: 0) ⇒ Object
For lines: r & b are swapped.
5 6 7 |
# File 'lib/sc2ai/protocol/extensions/color.rb', line 5 def initialize(r: 0, g: 0, b: 0) super(r: b, g: g, b: r) end |