motion-game 1.1.8.1 → 1.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1fe4d6f3e6665673b75852e0fe4491b671de4fe4
4
- data.tar.gz: bd8ae679a99cf8c179c73e54e93dea71e066ef73
3
+ metadata.gz: 189ab22b61240895998f7b3bbddb202e237917b8
4
+ data.tar.gz: f48f5d7661425dda5bb594807d0434775c1190e4
5
5
  SHA512:
6
- metadata.gz: 99f6560551329cf563728e7f840973a08350ca2c8eff5056aea5ac1a831b79bc378c760247ed3edd01205f23104f607cee5f33386eae688bad033e0a07dcaf88
7
- data.tar.gz: d9de77c4c3e47dd155c2386ae97d34bc85c3ca5f4b7c5f1644f46f970520478273a0bcb80ad2e9830f159cb4884842108e91d992bfb14ab10135d885403a5437
6
+ metadata.gz: 5801d9e32fa57ceeb48237e5fa4a54202cd2a2d690ba4ad02361e8acc703a1096b1784785f5c4708c6ac606ff450342f3cb0ec72298b8fa159be8ee69a8a20ef
7
+ data.tar.gz: 2abdeca95ff2a402e1e294aede6e5d3c3f6639660db6451f9d4c33209161424b2cfcea2d423ecd60b4a979a06c624f6cdc490217463ad2235b7d4b980c52b577
Binary file
Binary file
Binary file
Binary file
data/doc/API_reference.rb CHANGED
@@ -373,9 +373,11 @@ class Audio < Object
373
373
  # @param volume [Float] the audio volume that should be used to play this
374
374
  # this sound file, as a +0.0+ to +1.0+ Float range.
375
375
  # @return [Audio] an Audio instance.
376
- # @endgroup
377
376
  def self.play(path, loop=false, volume=1.0); end
378
377
 
378
+
379
+ # @endgroup
380
+
379
381
  # @return [Boolean] whether the sound file should loop.
380
382
  def loop?; end
381
383
 
@@ -470,9 +472,11 @@ class Director < Object
470
472
 
471
473
  # Stops the animation.
472
474
  # @return [Director] the receiver.
473
- # @endgroup
474
475
  def stop_animation; end
475
476
 
477
+
478
+ # @endgroup
479
+
476
480
  # @return [Point] the visible origin of the director view in points.
477
481
  attr_reader :origin
478
482
 
@@ -609,9 +613,11 @@ class Scene < Node
609
613
  # @yield [Events::PhysicsContact] the given block will be yield when a
610
614
  # contact event is received from the physics engine.
611
615
  # @return [Scene] the receiver.
612
- # @endgroup
613
616
  def on_contact_begin; end
614
617
 
618
+
619
+ # @endgroup
620
+
615
621
  # @return [Point] the gravity of the scene's physics world.
616
622
  attr_accessor :gravity
617
623
 
@@ -983,9 +989,11 @@ class Sprite < Node
983
989
  # Applies an immediate force to the sprite body.
984
990
  # @param force [Point] the force to apply.
985
991
  # @return [Sprite] the receiver.
986
- # @endgroup
987
992
  def apply_force(force); end
988
993
 
994
+
995
+ # @endgroup
996
+
989
997
  # @return [Float] the body mass of the sprite.
990
998
  attr_accessor :mass
991
999
 
@@ -1198,9 +1206,11 @@ class Text < Widget
1198
1206
  # @param text [String] content for the text widget.
1199
1207
  # @param font [String] name of the font the text widget should use.
1200
1208
  # @param font_size [Integer] size of the font the text widget should use.
1201
- # @endgroup
1202
1209
  def initialize(text='', font='', font_size=0); end
1203
1210
 
1211
+
1212
+ # @endgroup
1213
+
1204
1214
  # @return [String] content of the widget.
1205
1215
  attr_accessor :text
1206
1216
 
@@ -1233,9 +1243,11 @@ class Button < Widget
1233
1243
 
1234
1244
  # Creates a new Button widget with an optional title.
1235
1245
  # @param title [String] title for the button.
1236
- # @endgroup
1237
1246
  def initialize(title=''); end
1238
1247
 
1248
+
1249
+ # @endgroup
1250
+
1239
1251
  # @return [String] title of the button.
1240
1252
  attr_accessor :text
1241
1253
 
@@ -1271,9 +1283,11 @@ class Slider < Widget
1271
1283
  # @group Constructors
1272
1284
 
1273
1285
  # Creates a new Slider widget.
1274
- # @endgroup
1275
1286
  def initialize; end
1276
1287
 
1288
+
1289
+ # @endgroup
1290
+
1277
1291
  # @return [Integer] the progress direction of the slider, as a percentage
1278
1292
  # value from +1+ to +100+.
1279
1293
  attr_accessor :progress
@@ -1285,9 +1299,11 @@ class Layout < Widget
1285
1299
  # @group Constructors
1286
1300
 
1287
1301
  # Creates a new List widget.
1288
- # @endgroup
1289
1302
  def initialize; end
1290
1303
 
1304
+
1305
+ # @endgroup
1306
+
1291
1307
  # @return [:absolute, :vertical, :horizontal, :relative] the layout type.
1292
1308
  attr_accessor :type
1293
1309
 
@@ -1316,9 +1332,11 @@ class Scroll < Layout
1316
1332
  # @group Constructors
1317
1333
 
1318
1334
  # Creates a new Scroll widget.
1319
- # @endgroup
1320
1335
  def initialize; end
1321
1336
 
1337
+
1338
+ # @endgroup
1339
+
1322
1340
  # @return [:none, :vertical, :horizontal, :both] the direction of the scroll
1323
1341
  # view.
1324
1342
  attr_accessor :direction
@@ -1377,9 +1395,11 @@ class List < Scroll
1377
1395
  def on_selection; end
1378
1396
 
1379
1397
  # @return [Integer] the index of the currently selected item.
1380
- # @endgroup
1381
1398
  def selected_item; end
1382
1399
 
1400
+
1401
+ # @endgroup
1402
+
1383
1403
  # @return [Float] the margin between items in the list.
1384
1404
  attr_accessor :items_margin
1385
1405
 
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.8.1
4
+ version: 1.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - HipByte
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-12-14 00:00:00.000000000 Z
11
+ date: 2016-12-15 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.