mirror of
https://github.com/danbee/persephone
synced 2025-03-04 08:39:11 +00:00
17 lines
341 B
Swift
17 lines
341 B
Swift
//
|
|
// AppReducer.swift
|
|
// Persephone
|
|
//
|
|
// Created by Daniel Barber on 2019/4/19.
|
|
// Copyright © 2019 Dan Barber. All rights reserved.
|
|
//
|
|
|
|
import Foundation
|
|
import ReSwift
|
|
|
|
func appReducer(action: Action, state: AppState?) -> AppState {
|
|
return AppState(
|
|
playerState: playerReducer(action: action, state: state?.playerState)
|
|
)
|
|
}
|