Permalink
Browse files

add graphics target

  • Loading branch information...
1 parent f59425e commit 2a26cb58ad028eac83cb746b3bf0575c896d8c32 @blooddy blooddy committed Oct 7, 2011
@@ -28,6 +28,14 @@ package com.casualflash.rush.display {
super();
}
+ //--------------------------------------------------------------------------
+ //
+ // Internal variables
+ //
+ //--------------------------------------------------------------------------
+
+ $internal var $target:DisplayObject2D;
+
//--------------------------------------------------------------------------
//
// Methods
@@ -5,7 +5,9 @@
////////////////////////////////////////////////////////////////////////////////
package com.casualflash.rush.display {
-
+
+ use namespace $internal;
+
/**
* @author BlooDHounD
* @version 1.0
@@ -26,6 +28,7 @@ package com.casualflash.rush.display {
*/
public function Shape2D() {
super();
+ this._graphics.$target = this;
}
//--------------------------------------------------------------------------
@@ -5,7 +5,9 @@
////////////////////////////////////////////////////////////////////////////////
package com.casualflash.rush.display {
-
+
+ use namespace $internal;
+
/**
* @author BlooDHounD
* @version 1.0
@@ -26,6 +28,7 @@ package com.casualflash.rush.display {
*/
public function Sprite2D() {
super();
+ this._graphics.$target = this;
}
//--------------------------------------------------------------------------

0 comments on commit 2a26cb5

Please sign in to comment.