1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-19 14:31:29 +00:00
Files
homebrewery/shared/naturalcrit/combat/combat.actions.js
Scott Tolksdorf 626cba6062 Newlines
2016-05-28 09:41:05 -04:00

23 lines
559 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);
},
}