AIGamePlayerAction

public enum AIGamePlayerAction : CaseIterable

An enumeration that represents the moves an agent can make.

MOVEMENT

  • Move the agent left.

    Declaration

    Swift

    case moveLeft
  • Move the agent right.

    Declaration

    Swift

    case moveRight
  • Move the agent up.

    Declaration

    Swift

    case moveUp
  • Move the agent down.

    Declaration

    Swift

    case moveDown
  • Stop all movement and/or action.

    Declaration

    Swift

    case stop

COSTUMES

  • Switch to the next costume the agent has.

    Declaration

    Swift

    case switchToNextCostume
  • Switch to the previous costume the agent has.

    Declaration

    Swift

    case switchToPreviousCostume

ITEMS

  • Pick up a heavy object.

    Declaration

    Swift

    case pickup
  • Drop a heavy object.

    Declaration

    Swift

    case drop

OTHER

  • Deploy a USB costume clone.

    Declaration

    Swift

    case deployClone
  • Retract a USB costume clone.

    Declaration

    Swift

    case retractClone
  • Activate an input.

    Declaration

    Swift

    case activate