MPIVortexType

public enum MPIVortexType : String, Codable

MPIVortexType represents the type of entity to move from one MPIMap to another MPIMap

  • If the entity is stairs

    Declaration

    Swift

    case Stairs = "stairs"
  • If the entity is elevator

    Declaration

    Swift

    case Elevator = "elevator"
  • If the entity is escalator

    Declaration

    Swift

    case Escalator = "escalator"
  • If the entity is door

    Declaration

    Swift

    case Door = "door"
  • If the entity is slide

    Declaration

    Swift

    case Slide = "slide"
  • If the entity is portal

    Declaration

    Swift

    case Portal = "portal"
  • If the entity is ramp

    Declaration

    Swift

    case Ramp = "ramp"
  • All other cases

    Declaration

    Swift

    case Other
  • Initialization to assign each vortex to its cooresponding vortex type

    Declaration

    Swift

    public init(from decoder: Decoder) throws