gosu_more_drawables 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74a75ccf5685a09e60a3770b65d483798dae6de4fc9d72151998aea4beaaca8d
4
- data.tar.gz: 3d01976e87bd33939f11ba98cc0b47a08eaec99b5d61f421586de87d5e64851b
3
+ metadata.gz: fe43ec2d12a661b9733a13c8fa19fdf98c6922ffc61bbb743585e4f3421c0bd4
4
+ data.tar.gz: 4fb4ace0322049b2e467fad3cca63fa625c6d5bf4a5d1242b7d8d5c5ebec71c6
5
5
  SHA512:
6
- metadata.gz: 415de6b8102e9bd01d2a0a6dfeab3c4d012418d223c4ec00d6703cce758c852a091bcbaefd97881ce4366e7a71015f34d5f0a93314571d780b7bbfb86844b1b9
7
- data.tar.gz: 80459c97c1c4558b988e06be9feb9c1a94b0764f5606471c6e0573fccc52b668b1abd50c83f062703abeace41cb195169bb517c38feaa38bdb1aebeeb864a81e
6
+ metadata.gz: 1db976e5668d8552254d237d765283e4dde40a7140275091d68c74bd6c3c1cffefa2484f51c5b178dd93c4a070795ead16065c8e92501f3315fadc9eb9b31098
7
+ data.tar.gz: 96e47b8998db6c3d93548c07bf351e9a4d03b6245dcc5d7e4432353fa36b939b5c01634fd462c89ebda44c7fa26dfb624c498c86cd74978a12b3254250633e7e
data/README.md CHANGED
@@ -38,6 +38,8 @@ end
38
38
  DemoWindow.new.show
39
39
  ```
40
40
 
41
+ ![screenshot of example](https://raw.githubusercontent.com/cyberarm/gosu_more_drawables/master/media/screenshot.png)
42
+
41
43
  ## Development
42
44
 
43
45
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -57,7 +57,8 @@ module Gosu
57
57
  point_a_left_x, point_a_left_y, color.first,
58
58
  point_b_left_x, point_b_left_y, color.last,
59
59
  point_a_right_x, point_a_right_y, color.first,
60
- point_b_right_x, point_b_right_y, color.last
60
+ point_b_right_x, point_b_right_y, color.last,
61
+ z, mode
61
62
  )
62
63
  elsif color.is_a?(Hash)
63
64
  start_color = color[:from]
@@ -80,14 +81,16 @@ module Gosu
80
81
  point_a_left_x, point_a_left_y, color_a,
81
82
  point_b_left_x, point_b_left_y, color_a,
82
83
  point_a_right_x, point_a_right_y, color_b,
83
- point_b_right_x, point_b_right_y, color_b
84
+ point_b_right_x, point_b_right_y, color_b,
85
+ z, mode
84
86
  )
85
87
  else
86
88
  Gosu.draw_quad(
87
89
  point_a_left_x, point_a_left_y, color,
88
90
  point_b_left_x, point_b_left_y, color,
89
91
  point_a_right_x, point_a_right_y, color,
90
- point_b_right_x, point_b_right_y, color
92
+ point_b_right_x, point_b_right_y, color,
93
+ z, mode
91
94
  )
92
95
  end
93
96
  end
@@ -1,3 +1,3 @@
1
1
  module GosuMoreDrawables
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gosu_more_drawables
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyberarm
@@ -72,6 +72,7 @@ files:
72
72
  - lib/gosu_more_drawables/draw_arc.rb
73
73
  - lib/gosu_more_drawables/draw_circle.rb
74
74
  - lib/gosu_more_drawables/version.rb
75
+ - media/screenshot.png
75
76
  homepage: https://github.com/cyberarm/gosu_more_drawables
76
77
  licenses:
77
78
  - MIT