smalruby 0.0.23 → 0.0.24
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of smalruby might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/smalruby/character.rb +5 -4
- data/lib/smalruby/version.rb +1 -1
- data/lib/smalruby.rb +1 -0
- data/smalruby.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b05433c70630faab08662262c001b7084b7c17e
|
4
|
+
data.tar.gz: fd5718255ada65f1d5e3df9aebda766c26042052
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eaca15d745db604ef19022a1c91741386bfa7060822f173cf5386e22b5c5416e66d953567f3b389d21ec39eab7f8e200f1a5b850afb47b778033038c1e7a1d61
|
7
|
+
data.tar.gz: 1ec6f49633a79896458fc5e021fa418a1d1ae3719d61e4eabd54a432b7f5b95bc5fe2b45d799909ae0c157270634687433ec013427d4c411a5f6c0bb405cce0f
|
data/lib/smalruby/character.rb
CHANGED
@@ -227,12 +227,13 @@ module Smalruby
|
|
227
227
|
# ( )に行く
|
228
228
|
def go_to(target)
|
229
229
|
if target == :mouse
|
230
|
-
|
231
|
-
|
230
|
+
x = Input.mouse_pos_x - center_x
|
231
|
+
y = Input.mouse_pos_y - center_y
|
232
232
|
else
|
233
|
-
|
234
|
-
|
233
|
+
x = target.x
|
234
|
+
y = target.y
|
235
235
|
end
|
236
|
+
self.position = [x, y]
|
236
237
|
end
|
237
238
|
|
238
239
|
# @!endgroup
|
data/lib/smalruby/version.rb
CHANGED
data/lib/smalruby.rb
CHANGED
data/smalruby.gemspec
CHANGED
@@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
|
|
40
40
|
if is_windows
|
41
41
|
spec.add_runtime_dependency 'dxruby', '1.4.0'
|
42
42
|
else
|
43
|
-
spec.add_runtime_dependency 'dxruby_sdl', '~> 0.0.
|
43
|
+
spec.add_runtime_dependency 'dxruby_sdl', '~> 0.0.10'
|
44
44
|
end
|
45
45
|
spec.add_runtime_dependency 'dino', '~> 0.11.2'
|
46
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smalruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kouji Takao
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-06-
|
11
|
+
date: 2014-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -184,14 +184,14 @@ dependencies:
|
|
184
184
|
requirements:
|
185
185
|
- - ~>
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.0.
|
187
|
+
version: 0.0.10
|
188
188
|
type: :runtime
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - ~>
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.0.
|
194
|
+
version: 0.0.10
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: dino
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|