20 lines
356 B
JavaScript
20 lines
356 B
JavaScript
|
import Updux from "updux";
|
||
|
import { action, payload } from "ts-action";
|
||
|
import u from "updeep";
|
||
|
import { createSelector } from "reselect";
|
||
|
|
||
|
import weapons from './weapons';
|
||
|
|
||
|
const dux = new Updux({
|
||
|
initial: {
|
||
|
firecons: {
|
||
|
nbr: 0, cost: 0, mass: 0
|
||
|
}
|
||
|
},
|
||
|
subduxes: {
|
||
|
weapons,
|
||
|
}
|
||
|
})
|
||
|
|
||
|
export default dux.asDux;
|