[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

Coin

inherits from Animation

Object <- Viewable <- Stamp <- Animation <- Coin



Operations

Get list of all operations

Idle
Pressed
Tap


Attributes

Get list of all attributes

Class Coin defines no new attributes.


Fields

Field Type
Viewable: superview: Viewable
relativeOrigin: Dot
contentSize: Dot
viewFlags: Flags
labelStyle: TextStyle
color: Unsigned
altColor: Unsigned
shadow: Shadow
sound: Playable
Stamp: image: Image
Animation: lastFrameMilliseconds: Unsigned
lastDrawMilliseconds: Unsigned
frameDelay: Unsigned
cycleDelay: Unsigned
horizontalVelocity: Micron
verticalVelocity: Micron
inMotion: Boolean
rotated: Boolean
horizontallyFlipped: Boolean
verticallyFlipped: Boolean
canBounceHorizontally: Boolean
canBounceVertically: Boolean
canFlipHorizontally: Boolean
canFlipVertically: Boolean
canTurnRight: Boolean
canTurnLeft: Boolean
canRotate: Boolean
oneShot: Boolean
canTouch: Boolean
dragAlong: Boolean
dontJump: Boolean
soundTrack: Boolean
Coin: tossCount: Unsigned
headsImage: Image
tailsImage: Image
lastSuper: Viewable
lastPosition: Dot


Instance template

instance Coin tag;
 relativeOrigin: <0.0,0.0>;
    contentSize: <0.0,0.0>;
      viewFlags: 0x00000000;
     labelStyle: nilObject;
          color: 0;
       altColor: 0;
         shadow: nilObject;
          sound: nilObject;
          image: nilObject;
lastFrameMilliseconds: 0;
lastDrawMilliseconds: 0;
     frameDelay: 0;
     cycleDelay: 0;
horizontalVelocity: <0.0>;
verticalVelocity: <0.0>;
       inMotion: false;
        rotated: false;
horizontallyFlipped: false;
verticallyFlipped: false;
canBounceHorizontally: false;
canBounceVertically: false;
canFlipHorizontally: false;
canFlipVertically: false;
   canTurnRight: false;
    canTurnLeft: false;
      canRotate: false;
        oneShot: false;
       canTouch: false;
      dragAlong: false;
       dontJump: false;
     soundTrack: false;
      tossCount: 0;
     headsImage: nilObject;
     tailsImage: nilObject;
      lastSuper: nilObject;
   lastPosition: <0.0,0.0>;
end instance;

Class definition

Define Class Coin;
    inherits from Animation;
    
    field tossCount: Unsigned;
    field headsImage: Image;
    field tailsImage: Image;
    field lastSuper: Viewable, weak;
    field lastPosition: Dot;

    overrides Idle, Pressed, Tap;
end class;