1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-15 22:45:57 +00:00
Files
homebrewery/shared/naturalCrit/combat.actions.js
2015-12-17 19:28:22 -05:00

23 lines
537 B
JavaScript

var dispatch = require('pico-flux').dispatch;
module.exports = {
updateMonsterManual : function(json){
dispatch('UDPATE_MONSTER_MANUAL', json);
},
addEncounter : function(){
dispatch('ADD_ENCOUNTER');
},
updateEncounter : function(index, json){
dispatch('UPDATE_ENCOUNTER', index, json);
},
removeEncounter : function(index){
dispatch('REMOVE_ENCOUNTER', index);
},
updatePlayers : function(text){
dispatch('UPDATE_PLAYERS', text);
},
selectEncounter : function(index){
dispatch('SELECT_ENCOUNTER', index);
},
}