PDG engine v0.9.5
 All Classes Namespaces Functions Variables Groups Pages
Sprite Member List

This is the complete list of members for Sprite, including all inherited members.

accelerate(number deltaSpeed, int msDuration=duration_Instantaneous, int easing=linearTween)Animated
accelerateTo(number speed, int msDuration=duration_Instantaneous, int easing=linearTween)Animated
addAnimationHelper(IAnimationHelper helper)Animated
addFramesImage(Image image, int startingFrame=start_FromFirstFrame, int numFrames=all_Frames)Sprite
addHandler(IEventHandler inHandler, int inEventType=all_events)EventEmitter
animate(int msElapsed)Animated
applyForce(Vector force, int msDuration=duration_Instantaneous)Animated
applyTorque(number forceSpin, int msDuration=duration_Instantaneous)Animated
blockEvent(int inEventType)EventEmitter
changeCenter(Offset offset, int msDuration=duration_Instantaneous, int easing=easeInOutQuad)Animated
changeCenterTo(Offset offset, int msDuration=duration_Instantaneous, int easing=easeInOutQuad)Animated
changeFramesImage(Image oldImage, Image newImage)Sprite
clear()EventEmitter
clearAnimationHelpers()Animated
deserialize(Deserializer deserializer)Sprite
disableCollisions()Sprite
disconnect(Sprite otherSprite=ALL_SPRITES)Sprite
enableCollisions(int collisionType=collide_AlphaChannel)Sprite
fadeIn(int msDuration, int easing=linearTween)Sprite
fadeOut(int msDuration, int easing=linearTween)Sprite
fadeTo(number targetOpacity, int msDuration, int easing=linearTween)Sprite
gear(Sprite otherSprite, number gearRatio, number initialAngle=0, number breakingForce=0)Sprite
getBoundingBox()Animated
getCenterOffset()Animated
getCollideGroup()Sprite
getCollisionRadius()Sprite
getCurrentFrame()Sprite
getElasticity()Sprite
getFrameCenterOffset(Image image=null, int frameNum=0)Sprite
getFrameCount()Sprite
getFrameRotatedBounds(int frameNum=-1)Sprite
getFriction()Sprite
getHeight()Animated
getLayer()Sprite
getLocation()Animated
getMass()Animated
getMouseDetectMode()Sprite
getMoveFriction()Animated
getMovementDirectionInRadians()Animated
getMyClassTag()Sprite
getOpacity()Sprite
getRotatedBounds()Animated
getRotation()Animated
getSerializedSize(Serializer serializer)Sprite
getSizeFriction()Animated
getSpeed()Animated
getSpin()Animated
getSpinFriction()Animated
getVelocity()Animated
getWantsAnimEndEvents()Sprite
getWantsAnimLoopEvents()Sprite
getWantsClickEvents()Sprite
getWantsCollideWallEvents()Sprite
getWantsMouseOverEvents()Sprite
getWantsOffscreenEvents()Sprite
getWidth()Animated
getZOrder()Sprite
grooveJoint(Offset grooveStart, Offset grooveEnd, Sprite otherSprite, Offset otherAnchor, number breakingForce=0)Sprite
grow(number factor, int msDuration=duration_Instantaneous, int easing=easeInOutQuad)Animated
hasAnimation(int animationId)Sprite
hasAnimation(string animationName)Sprite
isBehind(Sprite sprite)Sprite
makeJointBreakable(CpConstraint joint, number breakingForce)Sprite
makeJointUnbreakable(CpConstraint joint)Sprite
makeStatic()Sprite
motor(Sprite otherSprite, number spin, number maxTorque=INFINITY)Sprite
move(Offset delta, int msDuration=duration_Instantaneous, int easing=easeInOutQuad)Animated
moveBehind(Sprite sprite)Sprite
moveInFrontOf(Sprite sprite)Sprite
moveTo(Point where, int msDuration=duration_Instantaneous, int easing=easeInOutQuad)Animated
moveToBack()Sprite
moveToFront()Sprite
offsetFrameCenters(int offsetX, int offsetY, Image image=null, int startingFrame=start_FromFirstFrame, int numFrames=all_Frames)Sprite
on(int eventCode, function func)Sprite
onAnimationEnd(function func)Sprite
onAnimationLoop(function func)Sprite
onCollideSprite(function func)Sprite
onCollideWall(function func)Sprite
onExitLayer(function func)Sprite
onFadeComplete(function func)Sprite
onFadeInComplete(function func)Sprite
onFadeOutComplete(function func)Sprite
onMouseClick(function func)Sprite
onMouseDown(function func)Sprite
onMouseEnter(function func)Sprite
onMouseLeave(function func)Sprite
onMouseUp(function func)Sprite
onOffscreen(function func)Sprite
onOnscreen(function func)Sprite
pinJoint(Offset anchor, Sprite otherSprite, Offset otherAnchor, number breakingForce=0)Sprite
pivotJoint(Sprite otherSprite, Point pivot, number breakingForce=0)Sprite
ratchet(Sprite otherSprite, number rachetInterval, number phase, number breakingForce=0)Sprite
registerSerializableClassISerializablerelated
removeAnimationHelper(IAnimationHelper helper)Animated
removeHandler(IEventHandler inHandler, int inEventType=all_events)EventEmitter
removeJoint(CpConstraint joint)Sprite
resize(number deltaWidth, number deltaHeight, int msDuration=duration_Instantaneous, int easing=easeInOutQuad)Animated
resizeTo(number width, number height, int msDuration=duration_Instantaneous, int easing=easeInOutQuad)Animated
rotaryLimit(Sprite otherSprite, number minAngle, number maxAngle, number breakingForce=0)Sprite
rotarySpring(Sprite otherSprite, number restAngle, number stiffness, number damping, number breakingForce=0)Sprite
rotate(number radians, int msDuration=duration_Instantaneous, int easing=easeInOutQuad)Animated
rotateTo(number radiansRotation, int msDuration=duration_Instantaneous, int easing=easeInOutQuad)Animated
serialize(Serializer serializer)Sprite
setCenterOffset(Offset inCenterOffset)Animated
setCollideGroup(int group)Sprite
setCollisionHelper(ISpriteCollideHelper helper)Sprite
setCollisionRadius(number pixelRadius)Sprite
setDrawHelper(ISpriteDrawHelper helper)Sprite
setElasticity(number elasticity)Sprite
setEntityScale(number xScale, number yScale)Sprite
setFrame(int frame)Sprite
setFriction(number frictionCoefficient)Animated
setHeight(number inHeight)Animated
setLocation(Point inLocation)Animated
setMass(number inMass)Animated
setMouseDetectMode(int collisionType=collide_BoundingBox)Sprite
setMoveFriction(number inMoveFriction)Animated
setOpacity(number opacity)Sprite
setPostDrawHelper(ISpriteDrawHelper helper)Sprite
setRotation(number inRotation)Animated
setSize(number width, number height)Animated
setSizeFriction(number inSizeFriction)Animated
setSpeed(number inSpeed)Animated
setSpin(number inSpin)Animated
setSpinFriction(number inSpinFriction)Animated
setVelocity(Vector deltaPerSec)Animated
setVelocity(number deltaXPerSec, number deltaYPerSec)Animated
setVelocityInRadians(number speed, number direction)Animated
setWantsAnimEndEvents(boolean wantsThem=true)Sprite
setWantsAnimLoopEvents(boolean wantsThem=true)Sprite
setWantsClickEvents(boolean wantsThem=true)Sprite
setWantsCollideWallEvents(boolean wantsThem=true)Sprite
setWantsMouseOverEvents(boolean wantsThem=true)Sprite
setWantsOffscreenEvents(boolean wantsThem=true)Sprite
setWidth(number inWidth)Animated
slideJoint(Offset anchor, Sprite otherSprite, Offset otherAnchor, number minDist, number maxDist, number breakingForce=0)Sprite
springJoint(Offset anchor, Sprite otherSprite, Offset otherAnchor, number restLength, number stiffness, number damping, number breakingForce=0)Sprite
startAnimation(int animationId)Sprite
startAnimation(string animationName)Sprite
startFrameAnimation(number fps, int startingFrame=start_FromFirstFrame, int numFrames=all_Frames, int animateFlags=animate_Looping)Sprite
startGrowing(number amountPerSecond)Animated
startStretching(number widthPerSecond, number heightPerSecond)Animated
stopAllForces()Animated
stopFrameAnimation()Sprite
stopGrowing()Animated
stopMoving()Animated
stopSpinning()Animated
stopStretching()Animated
stretch(number widthFactor, number heightFactor, int msDuration=duration_Instantaneous, int easing=easeInOutQuad)Animated
unblockEvent(int inEventType)EventEmitter
useCollisionMask(Image frameImage, Image maskImage)Sprite
wait(int msDuration)Animated

User Comments