mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-03-11 14:21:52 +09:00
new lantern graphic and things
This commit is contained in:
@@ -114,7 +114,7 @@ public class CSVEditor extends JFrame {
|
||||
if (discardAgreed()) {
|
||||
|
||||
// actually read file
|
||||
JFileChooser fileChooser = new JFileChooser() {
|
||||
JFileChooser fileChooser = new JFileChooser("./") {
|
||||
{
|
||||
setFileSelectionMode(JFileChooser.FILES_ONLY);
|
||||
setMultiSelectionEnabled(false);
|
||||
@@ -189,7 +189,7 @@ public class CSVEditor extends JFrame {
|
||||
add("Save...").addMouseListener(new MouseAdapter() {
|
||||
@Override
|
||||
public void mousePressed(MouseEvent e) {
|
||||
JFileChooser fileChooser = new JFileChooser() {
|
||||
JFileChooser fileChooser = new JFileChooser("./") {
|
||||
{
|
||||
setFileSelectionMode(JFileChooser.FILES_ONLY);
|
||||
setMultiSelectionEnabled(false);
|
||||
|
||||
@@ -56,7 +56,7 @@ class WireActor(id: ActorID) : ActorWithBody(RenderOrder.WIRES, PhysProperties.I
|
||||
this.worldY = worldY
|
||||
setPosition((worldX + 0.5) * TILE_SIZE, (worldY + 1.0) * TILE_SIZE - 1.0) // what the fuck?
|
||||
|
||||
sprite!!.currentRow = 1
|
||||
sprite!!.currentRow = 0
|
||||
|
||||
val nearbyTiles = getNearbyTilesPos(worldX, worldY).map { world.getAllWiresFrom(it.x, it.y) }
|
||||
var ret = 0
|
||||
|
||||
Reference in New Issue
Block a user