Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Age selection and bombard added #6

Closed
wants to merge 4 commits into from

Conversation

OmarHawk
Copy link

I implemented an age selector, which helps users to identify the maximum of certain buildings they can place at a certain age (e.g. they can place up to 15 ballistas instead of 10 in age 3, and up to 20 in age 4++). This age information is saved along with the castle design and is later also loaded back when importing.

Subsequently, I also added support for the bombard, which is new as of age 4. For that, I created a new sprite and added the bombard everywhere in the code.

Furthermore I raised the export version string by one.

Finally, I added a .gitignore file, to exclude the eclipse project files from being commited.

Saving and loading of castles from old versions still works fine and saving and loading of castles with bombards and the additional age information did also work fine.

Unit tests could be executed successfully.

cd

Jan Wedding added 4 commits July 29, 2015 19:20
	- allow use of proper amount of ballistas and turrets
	- save age information with castle
	- allow to restore age information from saved castles
- code formatting for the changed source files
- added gitignore to not submit eclipse project files
- fixed testResetGridData which now must test from the third character
- added additional test layout containing age information
@DavidATGreen
Copy link
Owner

Oh wow, this looks fantastic. I'll happily merge this if you can revert the formatting changes. e.g. Editor.java is wanting to replace every line so it's very hard to see what changed.

Many apologies for not reacting to this sooner. I only just saw the pull request today, the watch on this project was set to Ignore which is really odd.

@DavidATGreen
Copy link
Owner

While I appreciate the work done, I have to decline it mostly due to the large sweeping formatting changes. Also the size of the window has been increased which is still an issue for some users.

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.

2 participants