Some bug fixes
This commit is contained in:
@@ -75,7 +75,8 @@ public struct Square: Equatable {
|
||||
public let position: Position
|
||||
public internal(set) var piece: Piece? = nil
|
||||
public let color: Color
|
||||
public internal(set) var targetted: Set<Piece> = []
|
||||
public typealias Targets = [Piece]
|
||||
public internal(set) var targetted: Targets = []
|
||||
|
||||
public static func == (lhs: Square, rhs: Square) -> Bool {
|
||||
return lhs.position == rhs.position
|
||||
|
||||
Reference in New Issue
Block a user