salamander 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,9 +8,9 @@ module Salamander::Drawing
8
8
  end
9
9
 
10
10
  # Draws a line 'distance' pixels long from the current position in the current drawing color.
11
- def line (distance)
11
+ def line (distance, direction=nil)
12
12
  x1, y1 = position
13
- move distance
13
+ move distance, direction
14
14
  x2, y2 = position
15
15
  SDL::Gfx.aalineColor(surface, x1.round, y1.round, x2.round, y2.round, color)
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module Salamander
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -95,7 +95,7 @@ x
95
95
  VERSION
96
96
  s
97
97
  5
98
- 0.0.1
98
+ 0.1.1
99
99
  x
100
100
  9
101
101
  const_set
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salamander
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 0
10
- version: 0.1.0
9
+ - 1
10
+ version: 0.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonathan Castello
@@ -59,16 +59,16 @@ extra_rdoc_files: []
59
59
 
60
60
  files:
61
61
  - lib/salamander.rb
62
- - lib/salamander/support/radians.rb
63
62
  - lib/salamander/constants.rb
64
63
  - lib/salamander/actor.rb
65
- - lib/salamander/drawing/point.rb
66
- - lib/salamander/drawing/line.rb
67
- - lib/salamander/drawing/shapes.rb
68
64
  - lib/salamander/version.rbc
69
65
  - lib/salamander/support.rb
70
66
  - lib/salamander/drawing.rb
71
67
  - lib/salamander/version.rb
68
+ - lib/salamander/support/radians.rb
69
+ - lib/salamander/drawing/point.rb
70
+ - lib/salamander/drawing/line.rb
71
+ - lib/salamander/drawing/shapes.rb
72
72
  - bin/salamander
73
73
  has_rdoc: true
74
74
  homepage: