Teppefall

com.teppefall.ds.render2d
Class OffscreenBuffer

java.lang.Object
  extended by com.teppefall.ds.render2d.OffscreenBuffer

public class OffscreenBuffer
extends java.lang.Object


Constructor Summary
OffscreenBuffer(Darkstar ds, int width, int height)
           
OffscreenBuffer(Darkstar ds, int width, int height, int type)
           
 
Method Summary
 java.awt.Graphics2D getGraphics()
           
 java.awt.image.BufferedImage getImage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OffscreenBuffer

public OffscreenBuffer(Darkstar ds,
                       int width,
                       int height)

OffscreenBuffer

public OffscreenBuffer(Darkstar ds,
                       int width,
                       int height,
                       int type)
Method Detail

getImage

public java.awt.image.BufferedImage getImage()

getGraphics

public java.awt.Graphics2D getGraphics()

Teppefall