motion-game 1.1.12 → 1.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/build/android/armeabi/libmotion-cocos.a +0 -0
- data/build/android/motion-cocos.jar +0 -0
- data/build/android/x86/libmotion-cocos.a +0 -0
- data/build/ios/libmotion-cocos.a +0 -0
- data/build/tvos/libmotion-cocos.a +0 -0
- data/doc/API_reference.rb +16 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da80c1e5b97cca281ce018bc893ddec7f9e47c4a
|
4
|
+
data.tar.gz: f164559e593ded11f3caffcc57d2e7acac204f1c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c3b3ca47295053a53c5413151e93aadb3a230e179a24ab954412aa5ed52d6daa94ad4b133d28b9dc2bea75966191d208e4013bb75142e2dec5d248cb7e36ac5
|
7
|
+
data.tar.gz: ef5b9b9c42555d62f96dad465b63de004f63275712e9a46393ed4ba6a4d96d3c8cf4be47c7015e3c740469583797d1ea335ef46546484cea82b8ed88ed2a86fd
|
data/README.md
CHANGED
@@ -95,7 +95,7 @@ $ rake android:device
|
|
95
95
|
|
96
96
|
### API reference
|
97
97
|
|
98
|
-
The whole framework API is documented. The [API reference](http://www.rubydoc.info/gems/motion-game/
|
98
|
+
The whole framework API is documented. The [API reference](http://www.rubydoc.info/gems/motion-game/) is available online.
|
99
99
|
|
100
100
|
You can also build the API reference locally:
|
101
101
|
|
Binary file
|
Binary file
|
Binary file
|
data/build/ios/libmotion-cocos.a
CHANGED
Binary file
|
Binary file
|
data/doc/API_reference.rb
CHANGED
@@ -525,6 +525,9 @@ class Events::Touch < Object
|
|
525
525
|
# @return [Point] the current location of the touch event.
|
526
526
|
attr_reader :location
|
527
527
|
|
528
|
+
# @return [Point] the start_location of the touch event.
|
529
|
+
attr_reader :start_location
|
530
|
+
|
528
531
|
end
|
529
532
|
|
530
533
|
class File
|
@@ -819,6 +822,9 @@ class Node < Object
|
|
819
822
|
# @return [self] the receiver.
|
820
823
|
def unschedule(key); end
|
821
824
|
|
825
|
+
# @return [Integer] the number of running actions for the node.
|
826
|
+
def number_of_running_actions; end
|
827
|
+
|
822
828
|
end
|
823
829
|
|
824
830
|
class Parallax < Node
|
@@ -1141,11 +1147,21 @@ class Point < Object
|
|
1141
1147
|
# @return [Point] A new Point object.
|
1142
1148
|
def -(point); end
|
1143
1149
|
|
1150
|
+
# check if the coordinates of the receiver and the coordinates of the given
|
1151
|
+
# point object is equal.
|
1152
|
+
# @param point [Point] A coordinate.
|
1153
|
+
# @return [Boolean] true if the two points contain the same X and Y values.
|
1154
|
+
def equal?(point); end
|
1155
|
+
|
1144
1156
|
# Calculates the distance between two points.
|
1145
1157
|
# @param point [Point] A point to calculate the distance.
|
1146
1158
|
# @return [Float] the distance.
|
1147
1159
|
def distance(point); end
|
1148
1160
|
|
1161
|
+
# Calculates the angle in radians between this vector and the x-axis.
|
1162
|
+
# @return [Float] the angle.
|
1163
|
+
def angle; end
|
1164
|
+
|
1149
1165
|
end
|
1150
1166
|
# A size represents the dimensions of width and height of an object.
|
1151
1167
|
# When calling a method that expects a +Size+ object, a 2-element +Array+
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: motion-game
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- HipByte
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: motion-game allows you to write cross-platform native mobile games in
|
14
14
|
Ruby.
|