public Animation(RotateAnimation rotateAnimation)
        {
            this.rotateAnimation = rotateAnimation;
            moveAnimation        = null;
            alignAnimation       = null;
            loadPhase            = null;

            type = AnimationConstants.TYPEROTATE;
        }
        public Animation(MoveAnimation moveAnimation)
        {
            this.moveAnimation = moveAnimation;
            rotateAnimation    = null;
            alignAnimation     = null;
            loadPhase          = null;

            type = AnimationConstants.TYPEMOVE;
        }
        public Animation(loadPhaseMethod loadPhase)
        {
            this.loadPhase  = loadPhase;
            moveAnimation   = null;
            rotateAnimation = null;
            alignAnimation  = null;

            type = AnimationConstants.TYPELOAD;
        }
        public Animation(AlignAnimation alignAnimation)
        {
            this.alignAnimation = alignAnimation;
            moveAnimation       = null;
            rotateAnimation     = null;
            loadPhase           = null;

            type = AnimationConstants.TYPEALIGN;
        }
示例#5
0
 public Event(AlignAnimation alignAnimation)
 {
     this.alignAnimation = alignAnimation;
     type = AnimationAndEventsConstants.TYPEALIGN;
 }