de.gurkenlabs.litiengine.environment.tilemap.LayerRenderEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of litiengine Show documentation
Show all versions of litiengine Show documentation
The FOSS 2D Java game engine.
The newest version!
package de.gurkenlabs.litiengine.environment.tilemap;
import java.awt.Graphics2D;
import java.util.EventObject;
public class LayerRenderEvent extends EventObject {
private static final long serialVersionUID = -2474186082878891828L;
private final transient Graphics2D graphics;
private final transient IMap map;
private final transient ILayer layer;
public LayerRenderEvent(final Graphics2D graphics, IMap map, ILayer layer) {
super(layer);
this.graphics = graphics;
this.map = map;
this.layer = layer;
}
public Graphics2D getGraphics() {
return this.graphics;
}
public IMap getMap() {
return this.map;
}
public ILayer getLayer() {
return this.layer;
}
}