Class: RubySvgImageGenerator::MonkeyAvatars::Clothes
- Inherits:
-
Theme::ColorPart
- Object
- Theme::Part
- Theme::ColorPart
- RubySvgImageGenerator::MonkeyAvatars::Clothes
- Defined in:
- lib/ruby_svg_image_generator/themes/monkey_avatars/clothes.rb
Constant Summary collapse
- COLORS =
["#311D00", "#FFFFFF", "#9A0C16", "#080E84", "#DFB438", "#8FD35F"]
- MATRICES =
[ [ [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [ 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0], [ 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1, 1, 1], [ 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1] ] ]
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Clothes
constructor
A new instance of Clothes.
Methods inherited from Theme::ColorPart
#[], #each, #get_matrix, #get_random_matrix
Methods inherited from Theme::Part
#[], #each, #get_matrix, #get_random_matrix, #name
Constructor Details
#initialize(options = {}) ⇒ Clothes
Returns a new instance of Clothes.
27 28 29 |
# File 'lib/ruby_svg_image_generator/themes/monkey_avatars/clothes.rb', line 27 def initialize ={} super "Clothes" end |