Skip to content

Commit

Permalink
fix namespace not found error with some IDE's
Browse files Browse the repository at this point in the history
  • Loading branch information
gsynuh committed Jan 30, 2017
1 parent 4e29283 commit 7ae7616
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/citrus/core/CitrusEngine.as
Expand Up @@ -18,6 +18,8 @@ package citrus.core {
import flash.geom.Matrix;
import flash.media.SoundMixer;

use namespace citrus_internal;

/**
* CitrusEngine is the top-most class in the library. When you start your project, you should make your
* document class extend this class unless you use Starling. In this case extends StarlingCitrusEngine.
Expand All @@ -27,8 +29,6 @@ package citrus.core {
*/
public class CitrusEngine extends MovieClip
{
use namespace citrus_internal;

public static const VERSION:String = "3.2.0";

private static var _instance:CitrusEngine;
Expand Down
4 changes: 2 additions & 2 deletions src/citrus/core/starling/StarlingCitrusEngine.as
Expand Up @@ -12,6 +12,8 @@ package citrus.core.starling {
import flash.display.Stage3D;
import flash.events.Event;
import flash.geom.Rectangle;

use namespace citrus_internal;

/**
* Extends this class if you create a Starling based game. Don't forget to call <code>setUpStarling</code> function.
Expand All @@ -20,8 +22,6 @@ package citrus.core.starling {
*/
public class StarlingCitrusEngine extends CitrusEngine {

use namespace citrus_internal;

public var textureScaleFactor:Number = 1;

protected var _debug:Boolean = false;
Expand Down

0 comments on commit 7ae7616

Please sign in to comment.