Module: AttrSprite

Includes:
AttrRect
Defined in:
dragon/attr_sprite.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from AttrRect

#bottom, #left, #right, #top, #x1, #y1

Methods included from GTK::Geometry

#anchor_rect, angle_between_lines, angle_from, #angle_from, #angle_given_point, angle_to, #angle_to, center_inside_rect, #center_inside_rect, center_inside_rect_x, #center_inside_rect_x, center_inside_rect_y, #center_inside_rect_y, contract_intersect_rect?, cubic_bezier, distance, #inside_rect?, inside_rect?, #intersect_rect?, intersect_rect?, #intersects_rect?, intersects_rect?, line_intersect, line_rect, line_rise_run, line_slope, line_y_intercept, #point_inside_circle?, point_inside_circle?, ray_test, #scale_rect, scale_rect, scale_rect_extended, #scale_rect_extended, shift_line, to_square

Instance Attribute Details

#aObject

Returns the value of attribute a


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def a
  @a
end

#angleObject

Returns the value of attribute angle


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def angle
  @angle
end

#angle_anchor_xObject

Returns the value of attribute angle_anchor_x


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def angle_anchor_x
  @angle_anchor_x
end

#angle_anchor_yObject

Returns the value of attribute angle_anchor_y


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def angle_anchor_y
  @angle_anchor_y
end

#bObject

Returns the value of attribute b


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def b
  @b
end

#flip_horizontallyObject

Returns the value of attribute flip_horizontally


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def flip_horizontally
  @flip_horizontally
end

#flip_verticallyObject

Returns the value of attribute flip_vertically


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def flip_vertically
  @flip_vertically
end

#gObject

Returns the value of attribute g


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def g
  @g
end

#hObject

Returns the value of attribute h


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def h
  @h
end

#idObject

Returns the value of attribute id


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def id
  @id
end

#pathObject

Returns the value of attribute path


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def path
  @path
end

#rObject

Returns the value of attribute r


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def r
  @r
end

#source_hObject

Returns the value of attribute source_h


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def source_h
  @source_h
end

#source_wObject

Returns the value of attribute source_w


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def source_w
  @source_w
end

#source_xObject

Returns the value of attribute source_x


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def source_x
  @source_x
end

#source_yObject

Returns the value of attribute source_y


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def source_y
  @source_y
end

#tile_hObject

Returns the value of attribute tile_h


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def tile_h
  @tile_h
end

#tile_wObject

Returns the value of attribute tile_w


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def tile_w
  @tile_w
end

#tile_xObject

Returns the value of attribute tile_x


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def tile_x
  @tile_x
end

#tile_yObject

Returns the value of attribute tile_y


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def tile_y
  @tile_y
end

#wObject

Returns the value of attribute w


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def w
  @w
end

#xObject

Returns the value of attribute x


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def x
  @x
end

#yObject

Returns the value of attribute y


37
38
39
# File 'dragon/attr_sprite.rb', line 37

def y
  @y
end

Instance Method Details

#primitive_markerObject


42
43
44
# File 'dragon/attr_sprite.rb', line 42

def primitive_marker
  :sprite
end

#spriteObject


46
47
48
# File 'dragon/attr_sprite.rb', line 46

def sprite
  self
end

#x1=(value) ⇒ Object


50
51
52
# File 'dragon/attr_sprite.rb', line 50

def x1= value
  @x = value
end

#y1=(value) ⇒ Object


54
55
56
# File 'dragon/attr_sprite.rb', line 54

def y1= value
  @y = value
end