Class: Starcraft2::Icon

Inherits:
Object
  • Object
show all
Defined in:
lib/starcraft2/icon.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Icon

Returns a new instance of Icon.



5
6
7
# File 'lib/starcraft2/icon.rb', line 5

def initialize(options = {})
  Utils.load(self, options)
end

Instance Attribute Details

#hObject

Returns the value of attribute h.



3
4
5
# File 'lib/starcraft2/icon.rb', line 3

def h
  @h
end

#offsetObject

Returns the value of attribute offset.



3
4
5
# File 'lib/starcraft2/icon.rb', line 3

def offset
  @offset
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/starcraft2/icon.rb', line 3

def url
  @url
end

#wObject

Returns the value of attribute w.



3
4
5
# File 'lib/starcraft2/icon.rb', line 3

def w
  @w
end

#xObject

Returns the value of attribute x.



3
4
5
# File 'lib/starcraft2/icon.rb', line 3

def x
  @x
end

#yObject

Returns the value of attribute y.



3
4
5
# File 'lib/starcraft2/icon.rb', line 3

def y
  @y
end