Tusker/Packages/TTTKit/Sources/TTTKit/Model/Mark.swift

22 lines
279 B
Swift
Raw Normal View History

2022-12-22 16:54:23 +00:00
//
// Mark.swift
// TTTKit
//
// Created by Shadowfacts on 12/21/22.
//
import Foundation
public enum Mark {
case x, o
public var next: Mark {
switch self {
case .x:
return .o
case .o:
return .x
}
}
}