Documentation of 'medusa.example.Animation' Java class
Animation
medusa.example

Class Animation



  • public class Animation
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      Animation()
      Creates a new instance of Animation
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void addShape(java.awt.Shape shape, long duration) 
      java.awt.Shape getShape()
      Get this animation's current shape.
      void initDefault() 
      void start() 
      void update(long elapsedTime)
      Updates this animation's current shape (frame) if necessary
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Animation

        public Animation()
        Creates a new instance of Animation
    • Method Detail

      • addShape

        public void addShape(java.awt.Shape shape,
                             long duration)
      • start

        public void start()
      • update

        public void update(long elapsedTime)
        Updates this animation's current shape (frame) if necessary
      • getShape

        public java.awt.Shape getShape()
        Get this animation's current shape. Returns null if this animation has no shape
      • initDefault

        public void initDefault()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.