Skip to content

Move functions from Redux_SquadViewNew to Redux_SquadViewNewViewModel #118

@pakirby1

Description

@pakirby1

They are basically pass-through functions to the view model.

  • func hideAllDials()
  • func disableSystemPhaseForAllPilots()
  • func updateAllPilots(_ handler: (inout PilotStateData) -> ())
  • getShips()
  • func pilotTapped(shipPilot: ShipPilot) (depends on ViewFactory)
  • setVictoryPoints(points: Int32)
  • setFirstPlayer(_ isFirstPlayer: Bool)
  • func updateSquad(squadData: SquadData)
  • func updatePilotState(pilotStateData: PilotStateData,
    pilotState: PilotState)
  • func flipDial(pilotStateData: PilotStateData, pilotState: PilotState)
  • func processEngage()
  • func resetAllShips()
  • func updateAllDials()
  • func updateAllDials(newDialStatus: DialStatus)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions