Skip to content

Inventory refactor#108

Merged
Grover-c13 merged 29 commits intoGrover-c13:masterfrom
mjmjelde:inventory_refactor
Jul 22, 2016
Merged

Inventory refactor#108
Grover-c13 merged 29 commits intoGrover-c13:masterfrom
mjmjelde:inventory_refactor

Conversation

@mjmjelde
Copy link
Copy Markdown
Contributor

Moved all the "inventory" based items out of the main api and into their own class. This is just an inital setup, and can be changed to fit other needs. Probably needs a bit more testing but works with my testing. Supports updating of inventory and not just a full update. May need to go to other classes and remove their interactions with the bags as when an update is called it could mess up. That part is untested.

Matthew J. Mjelde and others added 19 commits July 21, 2016 11:50
# Conflicts:
#	src/main/java/com/pokegoapi/api/map/Map.java
…ow (ie 0 pokeballs = use greatball, 0 greatballs use ultraball)
made catchPokemon() use the next tier pokeball if out of the tier below (ie 0 pokeballs = use greatball, 0 greatballs use ultraball)
Since we still commit PRs as branches into this repo Travis will build every PR twice plus the merge commit. This means three equal builds for nothing. We should save their resources and (for now) just build the master branch. That way a PR will only be built once plus the actual merge on master to update the build status badge.
Make server requests work over multiple threads at once
@Grover-c13
Copy link
Copy Markdown
Owner

Grover-c13 commented Jul 22, 2016

can you rebase and check it conforms to the style check, if all is good will merge

@mjmjelde
Copy link
Copy Markdown
Contributor Author

So many fixed and shit happened when I rebased this and fixed all the errors. Its all fixed now I believe

@Grover-c13 Grover-c13 merged commit 7ad922e into Grover-c13:master Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants