// Arup Guha
// 3/8/2026
// Added for Abstract class lecture

public class Ghost extends Piece {
	
	// Creates a new Pacman object at (x,y) with name myName.
	public Ghost(Position p, Position dir) {		
		super(p, dir);
	}
	
	// Returns a String representation of this Pacman.
	public String toString() {
		return "Ghost! at "+loc;
	}
	
	// This is the shape of PacMan!
	public char getCode() {
		return 'G';
	}

}