25 lines
418 B
JavaScript
25 lines
418 B
JavaScript
|
import Updux from "updux";
|
||
|
import { action, payload } from "ts-action";
|
||
|
import u from "updeep";
|
||
|
import { createSelector } from "reselect";
|
||
|
|
||
|
import screens from './screens';
|
||
|
|
||
|
const dux = new Updux({
|
||
|
initial: {
|
||
|
mass: 0,
|
||
|
cost: 0,
|
||
|
hull: {
|
||
|
rating: 1,
|
||
|
advanced: false,
|
||
|
cost: 2,
|
||
|
mass: 1,
|
||
|
}
|
||
|
},
|
||
|
subduxes: {
|
||
|
screens
|
||
|
}
|
||
|
})
|
||
|
|
||
|
export default dux.asDux;
|