AIAbstractGameSignalSender

struct AIAbstractGameSignalSender

An abstract data structure that represents an input device.

  • The kind of signal sender.

    Declaration

    Swift

    var kind: GameSignalKind
  • The position of the signal sender.

    Declaration

    Swift

    var position: CGPoint
  • The “pretty” or world position of the signal sender.

    Declaration

    Swift

    var prettyPosition: CGPoint
  • Whether the signal sender is active.

    Declaration

    Swift

    var active: Bool
  • The cooldown period for this signal sender.

    Declaration

    Swift

    var timer: Int
  • A list of the positions that correspond to this signal sender’s outputs.

    Declaration

    Swift

    var outputs: [CGPoint]