Gosuplus 1.0.21 → 1.0.22

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.
data/lib/Gosuplus/body.rb CHANGED
@@ -3,8 +3,6 @@ module Gosuplus
3
3
  attr_accessor :position, :a, :width, :height
4
4
 
5
5
  def initialize(position, width, height, angle = 90)
6
- raise ArgumentError, 'Position is not a instance of Vec2' unless position.is_a? Vec2
7
-
8
6
  @position, @width, @height, @angle = position, width, height, angle
9
7
  end
10
8
  end
@@ -1,7 +1,7 @@
1
1
  module Gosuplus
2
2
  class Entity
3
- attr_accessor :id
4
3
  include DrawableRot
4
+ attr_accessor :id, :body
5
5
 
6
6
  def initialize(pos, image)
7
7
  @body = Body.new(pos, image.width, image.height)
@@ -9,7 +9,7 @@ module Gosuplus
9
9
  end
10
10
 
11
11
  def update
12
-
12
+
13
13
  end
14
14
  end
15
15
  end
@@ -1,3 +1,3 @@
1
1
  module Gosuplus
2
- VERSION = "1.0.21"
2
+ VERSION = "1.0.22"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Gosuplus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.21
4
+ version: 1.0.22
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: