View Javadoc

    1   /*
    2    * "Peko" Visual Novel System
    3    *
    4    * All Rights Reserved.
    5    * Copyright (c) 1999-2003 Tsukuba Bunko.
    6    *
    7    * $Id: ImmediateEffect.java,v 1.1 2005/07/11 12:49:18 ppoi Exp $
    8    */
    9   package tsukuba_bunko.peko.canvas.stage.effect;
    10
    11  import	java.awt.image.BufferedImage;
    12
    13  import	tsukuba_bunko.peko.canvas.stage.Effect;
    14
    15
    16  /***
    17   */
    18  public class ImmediateEffect	extends Effect	{
    19
    20  	public String getName()
    21  	{
    22  		return "immediate";
    23  	}
    24
    25  	public void perform( BufferedImage screen, BufferedImage next )
    26  	{
    27  		screen.setData( next.getRaster() );
    28  	}
    29  }