Custom protocol for the SwiftTris class