Definition at line 16 of file MapMakerPanel.java.
◆ MapMakerPanel()
| com.jscratch.ui.MapMakerPanel.MapMakerPanel |
( |
MapMakerData | data | ) |
|
◆ configureTile()
| void com.jscratch.ui.MapMakerPanel.configureTile |
( |
int | id | ) |
|
|
private |
◆ drawGrid() [1/2]
| void com.jscratch.ui.MapMakerPanel.drawGrid |
( |
Graphics | g | ) |
|
|
private |
◆ drawGrid() [2/2]
| void com.jscratch.ui.MapMakerPanel.drawGrid |
( |
Graphics | g, |
|
|
boolean | showGridLines ) |
|
private |
◆ exportToPNG()
| void com.jscratch.ui.MapMakerPanel.exportToPNG |
( |
| ) |
|
|
private |
◆ getFallbackColor()
| Color com.jscratch.ui.MapMakerPanel.getFallbackColor |
( |
int | id | ) |
|
|
private |
◆ loadTileImages()
| void com.jscratch.ui.MapMakerPanel.loadTileImages |
( |
| ) |
|
|
private |
◆ paintTile()
| void com.jscratch.ui.MapMakerPanel.paintTile |
( |
MouseEvent | e | ) |
|
|
private |
◆ resizeGrid()
| void com.jscratch.ui.MapMakerPanel.resizeGrid |
( |
int | newW, |
|
|
int | newH ) |
|
private |
◆ setMapData()
| void com.jscratch.ui.MapMakerPanel.setMapData |
( |
MapMakerData | data | ) |
|
◆ setupSidebar()
| void com.jscratch.ui.MapMakerPanel.setupSidebar |
( |
| ) |
|
|
private |
◆ updateGridCanvasSize()
| void com.jscratch.ui.MapMakerPanel.updateGridCanvasSize |
( |
| ) |
|
|
private |
◆ currentLayerIndex
| int com.jscratch.ui.MapMakerPanel.currentLayerIndex = 1 |
|
private |
◆ gridCanvas
| JPanel com.jscratch.ui.MapMakerPanel.gridCanvas |
|
private |
◆ hoveredX
| int com.jscratch.ui.MapMakerPanel.hoveredX = -1 |
|
private |
◆ hoveredY
| int com.jscratch.ui.MapMakerPanel.hoveredY = -1 |
|
private |
◆ mapData
◆ selectedTile
| int com.jscratch.ui.MapMakerPanel.selectedTile = 1 |
|
private |
◆ sidebar
| JPanel com.jscratch.ui.MapMakerPanel.sidebar |
|
private |
◆ tileImages
| Map<Integer, Image> com.jscratch.ui.MapMakerPanel.tileImages = new HashMap<>() |
|
private |
The documentation for this class was generated from the following file: