Class: Sprite::WithColor
Overview
Define a sprite that mix with a color
Instance Method Summary collapse
-
#color=(array) ⇒ self
(also: #set_color)
Set the Sprite color.
-
#initialize(viewport = nil) ⇒ WithColor
constructor
Create a new Sprite::WithColor.
Constructor Details
#initialize(viewport = nil) ⇒ WithColor
Create a new Sprite::WithColor
1485 1486 |
# File 'docs/0_Dependencies.rb', line 1485 def initialize( = nil) end |
Instance Method Details
#color=(array) ⇒ self Also known as: set_color
Set the Sprite color
1490 1491 |
# File 'docs/0_Dependencies.rb', line 1490 def color=(array) end |