gosu_extensions 0.1.27 → 0.1.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/traits/moveable.rb +6 -6
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.27
1
+ 0.1.28
@@ -4,12 +4,12 @@
4
4
  #
5
5
  module Moveable extend Trait
6
6
 
7
- def self::Accelerate strength = 1.0; [:accelerate, strength] end
8
- def self::Left strength = 1.0; [:move_left, strength] end
9
- def self::Right strength = 1.0; [:move_right, strength] end
10
- def self::Up strength = 1.0; [:move_up, strength] end
11
- def self::Down strength = 1.0; [:move_down, strength] end
12
- def self::Backwards strength = 1.0; [:backwards, strength] end
7
+ Accelerate = :accelerate; def self.accelerate strength = 1.0; [Accelerate, strength] end
8
+ Left = :move_left; def self.left strength = 1.0; [Left, strength] end
9
+ Right = :move_right; def self.right strength = 1.0; [Right, strength] end
10
+ Up = :move_up; def self.up strength = 1.0; [Up, strength] end
11
+ Down = :move_down; def self.down strength = 1.0; [Down, strength] end
12
+ Backwards = :backwards; def self.backwards strength = 1.0; [Backwards, strength] end
13
13
  # TODO Jump = :jump
14
14
 
15
15
  def self.included klass
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 27
9
- version: 0.1.27
8
+ - 28
9
+ version: 0.1.28
10
10
  platform: ruby
11
11
  authors:
12
12
  - Florian Hanke
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-04-08 00:00:00 +02:00
17
+ date: 2010-04-09 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency