org.kalmeo.kuix.transition
Interface Transition

All Known Implementing Classes:
FadeTransition, SlideTransition

public interface Transition

A transition is an effect apply when switching between two screens. Implements this interface to write your own transition.

Author:
bbeaulant

Method Summary
 void init(Image oldImage, Image newImage)
          This method is called before the transition starts.
 boolean process(Graphics g)
          This method is called each frame during the transition.
 

Method Detail

init

void init(Image oldImage,
          Image newImage)
This method is called before the transition starts.

Parameters:
oldImage -
newImage -

process

boolean process(Graphics g)
This method is called each frame during the transition.

Parameters:
g -
Returns:
true if the transition is finished


Copyright © 2007-2008 Kalmeo. All Rights Reserved.