Ejemplo n.º 1
0
 public TileGraphic(TmxTile tile, int width, int height, OffsetGenerator offsetgerenator) {
   this.width = width;
   this.height = height;
   image = toBufferedImage(tile.getImage());
   this.offsetgerenator = offsetgerenator;
 }
Ejemplo n.º 2
0
 public TileGraphic(TmxTile tile, OffsetGenerator offsetgerenator) {
   width = tile.getWidth();
   height = tile.getHeight();
   image = toBufferedImage(tile.getImage());
   this.offsetgerenator = offsetgerenator;
 }