FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Alchemist effects in human-readable format by w4bo · Pull Request #7 · AlchemistSimulator/Alchemist · GitHub

Alchemist effects in human-readable format - #7

Merged
DanySK merged 8 commits into
AlchemistSimulator:developfrom
w4bo:develop
Sep 12, 2016
Merged

DanySK merged 8 commits into
AlchemistSimulator:developfrom
w4bo:develop

Conversation

w4bo commented Sep 4, 2016

Copy link
Copy Markdown
Contributor

Effects are stored in human readable format.

I added a serialization factory to centralize effects serialization. Future changes in serialization will affect only this class.

I had to include RuntimeTypeAdapterFactory.java from the Gson repo as this class is not shipped with the Gson artifact.

DanySK commented Sep 5, 2016

Copy link
Copy Markdown
Member

Including that file is a no-go. We have not the power to maintain our own pieces of Gson. If you need a newer version of Gson, then please check if it's already there in Maven Central

this.loadButton.setEnabled(value);
this.moveLeftButton.setEnabled(value);
this.moveRightButton.setEnabled(value);
for (final Component c : this.stackSec.getComponents()) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Not a problem - but why this "this" invasion? Where they necessary, or was it the setting of your editor? If so, be wary: in many cases, abusing this. leads to unnecessary hyperverbose code (and java is already verbose itselft)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

My bad. I am used to using this setting. I will get rid of "this" invasion

DanySK self-assigned this Sep 12, 2016
DanySK merged commit ce2bd39 into AlchemistSimulator:develop Sep 12, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL