lotu 0.1.2 → 0.1.3

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/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.2
1
+ 0.1.3
@@ -5,6 +5,10 @@ module Lotu
5
5
  def self.extended(instance)
6
6
  instance.systems[:collision] = CollisionSystem.new
7
7
  end
8
+
9
+ def when_colliding(*args, &blk)
10
+ systems[:collision].when_colliding(*args, &blk)
11
+ end
8
12
  end
9
13
 
10
14
  class CollisionSystem
data/lib/lotu/window.rb CHANGED
@@ -21,8 +21,8 @@ module Lotu
21
21
  @font = Gosu::Font.new(self, Gosu::default_font_name, 20)
22
22
 
23
23
  # Add extra functionality
24
- self.extend Controllable
25
- self.extend Resourceful
24
+ extend Controllable
25
+ extend Resourceful
26
26
  extend Systems::Collision
27
27
  end
28
28
 
data/lotu.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{lotu}
8
- s.version = "0.1.2"
8
+ s.version = "0.1.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["lobo_tuerto"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - lobo_tuerto