<reponame>SmilieGames/StoneAgeReloaded<filename>src/components/gameData/_General.js<gh_stars>1-10
const GeneralMoves = {   
  addCitizens(G, ctx, selectedStation){
    if(G[selectedStation].currentCitizens < G[selectedStation].maxCitizens && G.village.currentCitizens > 0){
      G[selectedStation].currentCitizens++;
      G.village.currentCitizens--;
    }
  },
  removeCitizens(G, ctx, selectedStation){
    if(G[selectedStation].currentCitizens > 0){
      G[selectedStation].currentCitizens--;
      G.village.currentCitizens++;
    }
  }
}


export default GeneralMoves;
