Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

refactoring

  • Loading branch information...
commit 6bed18005084d547cf1807860dcfaa61c6c9d893 1 parent 1afa013
@presstube authored
View
2  ...m/presstube/flyingchunk/ActiveScroller.as → ...com/presstube/chunkulus/ActiveScroller.as
@@ -1,4 +1,4 @@
-package com.presstube.flyingchunk {
+package com.presstube.chunkulus {
import com.gskinner.PixelPerfectCollisionDetection;
import com.presstube.utils.PTmove;
View
2  src/com/presstube/flyingchunk/ActiveStage.as → src/com/presstube/chunkulus/ActiveStage.as
@@ -1,4 +1,4 @@
-package com.presstube.flyingchunk {
+package com.presstube.chunkulus {
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.events.Event;
View
2  src/com/presstube/flyingchunk/Chunklet.as → src/com/presstube/chunkulus/Chunklet.as
@@ -1,4 +1,4 @@
-package com.presstube.flyingchunk {
+package com.presstube.chunkulus {
import com.greensock.TweenLite;
import com.greensock.easing.Expo;
import com.presstube.utils.PTmove;
View
6 src/com/presstube/flyingchunk/FlyingChunk.as → src/com/presstube/chunkulus/Chunkulus.as
@@ -1,4 +1,4 @@
-package com.presstube.flyingchunk {
+package com.presstube.chunkulus {
import com.greensock.plugins.VolumePlugin;
import com.presstube.utils.PTmove;
@@ -14,7 +14,7 @@ package com.presstube.flyingchunk {
import flashx.textLayout.elements.SpanElement;
- public class FlyingChunk extends Sprite {
+ public class Chunkulus extends Sprite {
private static const OPEN:String = "OPEN";
private static const CLOSE:String = "CLOSE";
@@ -39,7 +39,7 @@ package com.presstube.flyingchunk {
private var head:MovieClip;
private var direction:String;
- public function FlyingChunk(activeStage:ActiveStage, radius:Number) {
+ public function Chunkulus(activeStage:ActiveStage, radius:Number) {
// makeTestGraphics();
this.activeStage = activeStage;
this.radius = radius;
View
10 ...m/presstube/flyingchunk/FlyingChunkApp.as → src/com/presstube/chunkulus/ChunkulusApp.as
@@ -1,4 +1,4 @@
-package com.presstube.flyingchunk {
+package com.presstube.chunkulus {
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.Event;
@@ -10,19 +10,19 @@ package com.presstube.flyingchunk {
import flash.system.LoaderContext;
import flash.ui.Keyboard;
- public class FlyingChunkApp extends Sprite {
+ public class ChunkulusApp extends Sprite {
private var scaleStage:ScaleStage;
private var bgCircle:Sprite;
private var activeStage:ActiveStage;
private var parallaxScroller:ParallaxScroller;
private var activeScroller:ActiveScroller;
- private var flyingChunk:FlyingChunk;
+ private var flyingChunk:Chunkulus;
private var boundingCircle:Sprite;
private var radius:int;
private var spawning:Boolean;
- public function FlyingChunkApp() {
+ public function ChunkulusApp() {
addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
loadAssets();
}
@@ -49,7 +49,7 @@ package com.presstube.flyingchunk {
scaleStage.addChild(activeStage = new ActiveStage);
scaleStage.addChildAt(parallaxScroller = new ParallaxScroller(scaleStage, activeStage, radius), 1);
// activeStage.addChild(activeScroller = new ActiveScroller(activeStage, radius));
- activeStage.addChild(flyingChunk = new FlyingChunk(activeStage, radius));
+ activeStage.addChild(flyingChunk = new Chunkulus(activeStage, radius));
scaleStage.addChildAt(boundingCircle = makeBoundingCircle(), 0);
scaleStage.mask = boundingCircle;
View
2  ...om/presstube/flyingchunk/ExhaustSystem.as → src/com/presstube/chunkulus/ExhaustSystem.as
@@ -1,4 +1,4 @@
-package com.presstube.flyingchunk {
+package com.presstube.chunkulus {
import flash.display.Sprite;
public class ExhaustSystem extends Sprite {
View
10 src/com/presstube/flyingchunk/Main.as → src/com/presstube/chunkulus/Main.as
@@ -1,4 +1,4 @@
-package com.presstube.flyingchunk {
+package com.presstube.chunkulus {
import flash.display.Sprite;
import flash.display.StageAlign;
@@ -9,18 +9,18 @@ package com.presstube.flyingchunk {
public class Main extends Sprite {
- private var flyingChunkApp:FlyingChunkApp;
+ private var chunkulusApp:ChunkulusApp;
public function Main() {
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
- addChild(flyingChunkApp = new FlyingChunkApp);
+ addChild(chunkulusApp = new ChunkulusApp);
stage.addEventListener(Event.RESIZE, function(e:Event=null):void {
- flyingChunkApp.x = stage.stageWidth / 2;
- flyingChunkApp.y = stage.stageHeight / 2;
+ chunkulusApp.x = stage.stageWidth / 2;
+ chunkulusApp.y = stage.stageHeight / 2;
});
stage.dispatchEvent(new Event(Event.RESIZE));
View
2  ...presstube/flyingchunk/ParallaxScroller.as → ...m/presstube/chunkulus/ParallaxScroller.as
@@ -1,4 +1,4 @@
-package com.presstube.flyingchunk {
+package com.presstube.chunkulus {
import com.presstube.utils.PTmove;
import com.presstube.utils.Tinter;
View
2  src/com/presstube/flyingchunk/ScaleStage.as → src/com/presstube/chunkulus/ScaleStage.as
@@ -1,4 +1,4 @@
-package com.presstube.flyingchunk {
+package com.presstube.chunkulus {
import flash.display.Sprite;
import flash.events.Event;
import flash.events.KeyboardEvent;
Please sign in to comment.
Something went wrong with that request. Please try again.