Ändra från egotripp till egodipp

This commit is contained in:
Love 2022-12-10 00:02:23 +01:00
parent 3e5bd56780
commit 161e5700c3
30 changed files with 205 additions and 205 deletions

View File

@ -4,7 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>com.billenius</groupId> <groupId>com.limone</groupId>
<artifactId>Schack</artifactId> <artifactId>Schack</artifactId>
<version>1</version> <version>1</version>
@ -39,7 +39,7 @@
<resource> <resource>
<directory>src/main/java/</directory> <directory>src/main/java/</directory>
<includes> <includes>
<include>com/billenius/img/</include> <include>com/limone/img/</include>
</includes> </includes>
</resource> </resource>
</resources> </resources>
@ -97,7 +97,7 @@
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<mainClass>com.billenius.schack.Schack</mainClass> <mainClass>com.limone.schack.Schack</mainClass>
</manifest> </manifest>
</archive> </archive>
<descriptorRefs> <descriptorRefs>
@ -114,7 +114,7 @@
<archive> <archive>
<manifest> <manifest>
<addClasspath>true</addClasspath> <addClasspath>true</addClasspath>
<mainClass>com.billenius.schack.Schack</mainClass> <mainClass>com.limone.schack.Schack</mainClass>
</manifest> </manifest>
</archive> </archive>
</configuration> </configuration>

View File

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 9.7 KiB

View File

Before

Width:  |  Height:  |  Size: 9.8 KiB

After

Width:  |  Height:  |  Size: 9.8 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 4.5 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 132 KiB

View File

@ -1,4 +1,4 @@
package com.billenius.schack; package com.limone.schack;
import java.awt.Point; import java.awt.Point;
import java.io.Serializable; import java.io.Serializable;

View File

@ -1,8 +1,8 @@
package com.billenius.schack; package com.limone.schack;
import java.awt.Point; import java.awt.Point;
import com.billenius.schack.pieces.Piece; import com.limone.schack.pieces.Piece;
public class Move extends BasicMove { public class Move extends BasicMove {
public Piece movedPiece; public Piece movedPiece;

View File

@ -1,4 +1,4 @@
package com.billenius.schack; package com.limone.schack;
import java.awt.Component; import java.awt.Component;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;

View File

@ -1,4 +1,4 @@
package com.billenius.schack; package com.limone.schack;
import java.awt.BorderLayout; import java.awt.BorderLayout;
import java.awt.Dimension; import java.awt.Dimension;
@ -25,10 +25,10 @@ import javax.swing.JScrollPane;
import javax.swing.JSplitPane; import javax.swing.JSplitPane;
import javax.swing.UIManager; import javax.swing.UIManager;
import com.billenius.schack.boards.Board;
import com.billenius.schack.boards.NetworkBoard;
import com.billenius.schack.boards.SameBoard;
import com.formdev.flatlaf.FlatLightLaf; import com.formdev.flatlaf.FlatLightLaf;
import com.limone.schack.boards.Board;
import com.limone.schack.boards.NetworkBoard;
import com.limone.schack.boards.SameBoard;
/** /**
* *

View File

@ -1,4 +1,4 @@
package com.billenius.schack; package com.limone.schack;
/** /**
* *

View File

@ -1,4 +1,4 @@
package com.billenius.schack.boards; package com.limone.schack.boards;
import java.awt.Color; import java.awt.Color;
import java.awt.Dimension; import java.awt.Dimension;
@ -14,15 +14,15 @@ import java.util.List;
import javax.swing.DefaultListModel; import javax.swing.DefaultListModel;
import javax.swing.JPanel; import javax.swing.JPanel;
import com.billenius.schack.Move; import com.limone.schack.Move;
import com.billenius.schack.SchackState; import com.limone.schack.SchackState;
import com.billenius.schack.pieces.Bishop; import com.limone.schack.pieces.Bishop;
import com.billenius.schack.pieces.Horse; import com.limone.schack.pieces.Horse;
import com.billenius.schack.pieces.King; import com.limone.schack.pieces.King;
import com.billenius.schack.pieces.Pawn; import com.limone.schack.pieces.Pawn;
import com.billenius.schack.pieces.Piece; import com.limone.schack.pieces.Piece;
import com.billenius.schack.pieces.Queen; import com.limone.schack.pieces.Queen;
import com.billenius.schack.pieces.Rook; import com.limone.schack.pieces.Rook;
public abstract class Board extends JPanel implements MouseListener { public abstract class Board extends JPanel implements MouseListener {

View File

@ -1,4 +1,4 @@
package com.billenius.schack.boards; package com.limone.schack.boards;
import java.awt.BorderLayout; import java.awt.BorderLayout;
import java.awt.Dimension; import java.awt.Dimension;
@ -18,10 +18,10 @@ import javax.swing.JLabel;
import javax.swing.JOptionPane; import javax.swing.JOptionPane;
import javax.swing.JPanel; import javax.swing.JPanel;
import com.billenius.schack.BasicMove; import com.limone.schack.BasicMove;
import com.billenius.schack.Move; import com.limone.schack.Move;
import com.billenius.schack.SchackState; import com.limone.schack.SchackState;
import com.billenius.schack.pieces.Piece; import com.limone.schack.pieces.Piece;
public final class NetworkBoard extends Board implements Runnable { public final class NetworkBoard extends Board implements Runnable {
public final static int PORT = 1339; public final static int PORT = 1339;

View File

@ -1,4 +1,4 @@
package com.billenius.schack.boards; package com.limone.schack.boards;
import java.io.IOException; import java.io.IOException;
import java.util.ArrayList; import java.util.ArrayList;
@ -6,9 +6,9 @@ import java.util.ArrayList;
import javax.swing.DefaultListModel; import javax.swing.DefaultListModel;
import javax.swing.JOptionPane; import javax.swing.JOptionPane;
import com.billenius.schack.Move; import com.limone.schack.Move;
import com.billenius.schack.SchackState; import com.limone.schack.SchackState;
import com.billenius.schack.pieces.Piece; import com.limone.schack.pieces.Piece;
public final class SameBoard extends Board { public final class SameBoard extends Board {

View File

@ -1,4 +1,4 @@
package com.billenius.schack.pieces; package com.limone.schack.pieces;
import java.awt.Point; import java.awt.Point;
import java.io.IOException; import java.io.IOException;

View File

@ -1,4 +1,4 @@
package com.billenius.schack.pieces; package com.limone.schack.pieces;
import java.awt.Point; import java.awt.Point;
import java.io.IOException; import java.io.IOException;

View File

@ -1,4 +1,4 @@
package com.billenius.schack.pieces; package com.limone.schack.pieces;
import java.awt.Point; import java.awt.Point;
import java.io.IOException; import java.io.IOException;

View File

@ -1,4 +1,4 @@
package com.billenius.schack.pieces; package com.limone.schack.pieces;
import java.awt.Point; import java.awt.Point;
import java.io.IOException; import java.io.IOException;

View File

@ -1,4 +1,4 @@
package com.billenius.schack.pieces; package com.limone.schack.pieces;
import java.awt.HeadlessException; import java.awt.HeadlessException;
import java.awt.Point; import java.awt.Point;

View File

@ -1,4 +1,4 @@
package com.billenius.schack.pieces; package com.limone.schack.pieces;
import java.awt.Graphics2D; import java.awt.Graphics2D;
import java.awt.Point; import java.awt.Point;
@ -9,7 +9,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import javax.imageio.ImageIO; import javax.imageio.ImageIO;
import com.billenius.schack.boards.Board; import com.limone.schack.boards.Board;
public abstract class Piece { public abstract class Piece {
@ -67,7 +67,7 @@ public abstract class Piece {
private BufferedImage getPieceIcon() throws IOException { private BufferedImage getPieceIcon() throws IOException {
String colorName = isWhite() ? "White" : "Black"; String colorName = isWhite() ? "White" : "Black";
String path = "/com/billenius/img/" + colorName + getClass().getSimpleName() + ".png"; String path = "/com/limone/img/" + colorName + getClass().getSimpleName() + ".png";
InputStream inputStream = getClass().getResourceAsStream(path); InputStream inputStream = getClass().getResourceAsStream(path);
return ImageIO.read(inputStream); return ImageIO.read(inputStream);
} }

View File

@ -1,4 +1,4 @@
package com.billenius.schack.pieces; package com.limone.schack.pieces;
import java.awt.Point; import java.awt.Point;
import java.io.IOException; import java.io.IOException;

View File

@ -1,4 +1,4 @@
package com.billenius.schack.pieces; package com.limone.schack.pieces;
import java.awt.Point; import java.awt.Point;
import java.io.IOException; import java.io.IOException;