mirror of
https://github.com/scratchfoundation/scratch-flash.git
synced 2024-12-04 21:21:06 -05:00
Update ScratchSprite.as
This commit is contained in:
parent
8acd3387de
commit
52aab9eb38
1 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
|||
// John Maloney, April 2010
|
||||
//
|
||||
// A Scratch sprite object. State specific to sprites includes: position, direction,
|
||||
// rotation style, size, draggability, and pen state.
|
||||
// rotation style, size, drag-ability, and pen state.
|
||||
|
||||
package scratch {
|
||||
import flash.display.*;
|
||||
|
@ -56,7 +56,7 @@ public class ScratchSprite extends ScratchObj {
|
|||
public var penColorCache:Number = 0xFF;
|
||||
|
||||
private var cachedBitmap:BitmapData; // current costume, rotated & scaled
|
||||
private var cachedBounds:Rectangle; // bounds of non-tranparent cachedBitmap in stage coords
|
||||
private var cachedBounds:Rectangle; // bounds of non-transparent cachedBitmap in stage coords
|
||||
|
||||
public var localMotionAmount:int = -2;
|
||||
public var localMotionDirection:int = -2;
|
||||
|
|
Loading…
Reference in a new issue