@Override
	public final boolean equals(@Nullable final Object obj) {
		if (obj == null)
			return false;
		
		if (getClass() == obj.getClass()) {
			final ChessPiece other = (ChessPiece) obj;
			
			return type == other.type && color == other.color;
		}
		
		return false;
	}