Preference

public protocol Preference

Base protocol for all player preferences.

  • preference() Default implementation

    Default Implementation

    Since we cannot extend or inherit Enums, this extension returns self to be used with Enums

    Declaration

    Swift

    func preference() -> Self