Index
All Classes and Interfaces|All Packages|Serialized Form
M
- main(String[]) - Static method in class Game.GameRun
-
Main method to launch the chess game.
- makeMove(Move) - Method in class Game.Board
-
Executes a player's move if it is valid; otherwise resets the piece's position.
- mouseDragged(MouseEvent) - Method in class Game.Input
-
Handles mouse drag events from the player.
- mousePressed(MouseEvent) - Method in class Game.Input
-
Handles mouse press events from the player.
- mouseReleased(MouseEvent) - Method in class Game.Input
-
Handles mouse release events from the player.
- Move - Class in Game
-
Represents a chess move, including the piece being moved, its original and new positions, and any captured piece.
- Move(Board, Piece, int, int) - Constructor for class Game.Move
-
Constructs the move object that stores the piece's original position, it's destination, and any piece present at the destination square for potential capture.
All Classes and Interfaces|All Packages|Serialized Form