h4oflashsdk 1.0.9 → 1.0.10

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/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- h4oflashsdk (1.0.9)
4
+ h4oflashsdk (1.0.10)
5
5
  sprout (>= 1.1.18.pre)
6
6
 
7
7
  GEM
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.9
1
+ 1.0.10
@@ -1,41 +1,15 @@
1
- package states
1
+ package <%= package_name %>
2
2
  {
3
3
  import com.citrusengine.core.*;
4
- import com.citrusengine.physics.box2d.*;
5
- import com.citrusengine.objects.platformer.box2d.*;
6
- import com.citrusengine.math.*;
7
- import flash.display.*;
8
-
9
- public class GameState extends State
4
+
5
+ [SWF(width='800', height='600')]
6
+ public class <%= class_name %> extends CitrusEngine
10
7
  {
11
-
12
- public function GameState()
8
+ public function <%= class_name %>()
13
9
  {
14
10
  super();
15
- }
16
-
17
- override public function initialize():void
18
- {
19
- super.initialize();
20
-
21
- var box2D:Box2D=new Box2D("box2d");
22
- add(box2D);
23
- box2D.visible=true;
24
-
25
- var hero:Hero=new Hero('hero');
26
-
27
-
28
- add(hero);
29
- hero.x=320;
30
- hero.y=200;
31
-
32
- view.setupCamera(hero, new MathVector(400,300));
33
-
34
- var platform:Platform=new Platform('platform',{width: 1000, height: 20});
35
- add(platform);
36
- platform.x=-100;
37
- platform.y=400;
38
-
11
+ state=new GameState();
39
12
  }
40
13
  }
41
- }
14
+ }
15
+
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: h4oflashsdk
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 9
10
- version: 1.0.9
9
+ - 10
10
+ version: 1.0.10
11
11
  platform: ruby
12
12
  authors:
13
13
  - Guenael LABOIS - H4o Studio
@@ -25,7 +25,7 @@ dependencies:
25
25
  requirements:
26
26
  - - ">="
27
27
  - !ruby/object:Gem::Version
28
- hash: -597877251
28
+ hash: -409877976
29
29
  segments:
30
30
  - 1
31
31
  - 1