16 lines
287 B
Go
16 lines
287 B
Go
package chess
|
|
|
|
import "mchess_server/types"
|
|
|
|
type Queen struct {
|
|
Color types.ChessColor
|
|
}
|
|
|
|
func (q Queen) GetColor() types.ChessColor {
|
|
return q.Color
|
|
}
|
|
|
|
func (q Queen) GetAllMovesButBlocked(board Board, fromSquare types.Coordinate) []types.Coordinate {
|
|
return []types.Coordinate{}
|
|
}
|