|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.media.AbstractMedia
com.threerings.media.sprite.Sprite
com.threerings.media.sprite.ImageSprite
com.threerings.media.sprite.OrientableImageSprite
com.threerings.media.sprite.FadableImageSprite
com.threerings.parlor.card.client.CardSprite
com.threerings.parlor.card.client.MicroCardSprite
public class MicroCardSprite
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.threerings.media.sprite.Sprite |
|---|
com.threerings.media.sprite.Sprite.CancelledOp, com.threerings.media.sprite.Sprite.CompletedOp |
| Field Summary |
|---|
| Fields inherited from class com.threerings.parlor.card.client.CardSprite |
|---|
_card, _draggable, _facingUp, _flipCard, _flipDuration, _flipStamp, _panel, _scaleFactor |
| Fields inherited from class com.threerings.media.sprite.FadableImageSprite |
|---|
_alphaComposite, _fadeDelay, _fadeInDuration, _fadeOutDuration, _fadeStamp, _pathDuration |
| Fields inherited from class com.threerings.media.sprite.ImageSprite |
|---|
_animMode, _firstStamp, _frameDelay, _frameIdx, _frames, DEFAULT_FRAME_RATE, MOVEMENT_CUED, NO_ANIMATION, TIME_BASED, TIME_SEQUENTIAL |
| Fields inherited from class com.threerings.media.sprite.Sprite |
|---|
_orient, _ox, _oxoff, _oy, _oyoff, _path, _pathStamp |
| Fields inherited from class com.threerings.media.AbstractMedia |
|---|
_bounds, _firstTick, _mgr, _observers, _renderOrder, HUD_LAYER |
| Fields inherited from interface com.threerings.util.DirectionCodes |
|---|
CARDINAL_DIRECTIONS, CCW, CW, DIRECTION_COUNT, DOWN, EAST, EASTNORTHEAST, EASTSOUTHEAST, FINE_DIRECTION_COUNT, HORIZONTAL, LEFT, NONE, NORTH, NORTHEAST, NORTHNORTHEAST, NORTHNORTHWEST, NORTHWEST, RIGHT, SOUTH, SOUTHEAST, SOUTHSOUTHEAST, SOUTHSOUTHWEST, SOUTHWEST, UP, VERTICAL, WEST, WESTNORTHWEST, WESTSOUTHWEST |
| Constructor Summary | |
|---|---|
MicroCardSprite(CardPanel panel,
Card card)
Creates a new upward-facing micro-card sprite. |
|
MicroCardSprite(CardPanel panel,
Card card,
boolean facingUp)
Creates a new micro-card sprite. |
|
| Method Summary | |
|---|---|
protected void |
updateMirage()
Updates the mirage according to the current state. |
| Methods inherited from class com.threerings.parlor.card.client.CardSprite |
|---|
flip, getCard, isDraggable, isFacingUp, paint, setCard, setDraggable, setFacingUp, tick |
| Methods inherited from class com.threerings.media.sprite.FadableImageSprite |
|---|
completeFadeIn, completeFadeOut, fadeIn, fadeOut, getAlpha, moveAndFadeIn, moveAndFadeInAndOut, moveAndFadeOut, pathCompleted, setAlpha |
| Methods inherited from class com.threerings.media.sprite.OrientableImageSprite |
|---|
accomodateFrame, setOrientation |
| Methods inherited from class com.threerings.media.sprite.ImageSprite |
|---|
hitTest, init, layout, setAnimationMode, setFrameIndex, setFrameRate, setFrames, setMirage, toString |
| Methods inherited from class com.threerings.media.sprite.Sprite |
|---|
addSpriteObserver, cancelMove, contains, fastForward, getHeight, getOrientation, getPath, getWidth, getX, getXOffset, getY, getYOffset, inside, intersects, isMoving, move, paintPath, pathBeginning, removeSpriteObserver, setLocation, shutdown, tickPath, updateRenderOrigin, viewLocationDidChange |
| Methods inherited from class com.threerings.media.AbstractMedia |
|---|
addObserver, contains, contains, contains, contains, getBounds, getBounds2D, getPathIterator, getPathIterator, getRenderOrder, init, intersects, intersects, invalidate, invalidateAfterChange, naturalCompareTo, queueNotification, removeObserver, renderCompareTo, setRenderOrder, toString, willStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.threerings.media.util.Pathable |
|---|
getBounds |
| Constructor Detail |
|---|
public MicroCardSprite(CardPanel panel,
Card card)
panel - the panel responsible for the spritecard - the card to depict (can be null, in which case the
card back will be shown)
public MicroCardSprite(CardPanel panel,
Card card,
boolean facingUp)
panel - the panel responsible for the spritecard - the card to depictfacingUp - whether or not the card should be facing up| Method Detail |
|---|
protected void updateMirage()
CardSprite
updateMirage in class CardSprite
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||