Class: Wowr::Classes::ArenaTeamEmblem

Inherits:
Object
  • Object
show all
Defined in:
lib/wowr/classes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(elem) ⇒ ArenaTeamEmblem

Returns a new instance of ArenaTeamEmblem.



1327
1328
1329
1330
1331
1332
1333
# File 'lib/wowr/classes.rb', line 1327

def initialize(elem)
	@background		= elem[:background]
	@border_color = elem[:borderColor]
	@border_style = elem[:borderStyle].to_i
	@icon_color		= elem[:iconColor]
	@icon_style		= elem[:iconStyle].to_i
end

Instance Attribute Details

#backgroundObject (readonly)

Returns the value of attribute background.



1325
1326
1327
# File 'lib/wowr/classes.rb', line 1325

def background
  @background
end

#border_colorObject (readonly)

Returns the value of attribute border_color.



1325
1326
1327
# File 'lib/wowr/classes.rb', line 1325

def border_color
  @border_color
end

#border_styleObject (readonly)

Returns the value of attribute border_style.



1325
1326
1327
# File 'lib/wowr/classes.rb', line 1325

def border_style
  @border_style
end

#icon_colourObject (readonly)

Returns the value of attribute icon_colour.



1325
1326
1327
# File 'lib/wowr/classes.rb', line 1325

def icon_colour
  @icon_colour
end

#icon_styleObject (readonly)

Returns the value of attribute icon_style.



1325
1326
1327
# File 'lib/wowr/classes.rb', line 1325

def icon_style
  @icon_style
end