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

Rewrite entirety of code - methodise everything #12

Open
jpwilliams opened this issue May 31, 2012 · 0 comments
Open

Rewrite entirety of code - methodise everything #12

jpwilliams opened this issue May 31, 2012 · 0 comments
Assignees
Milestone

Comments

@jpwilliams
Copy link
Member

Code needs to be properly structured and regimented with a selection of classes managing the different areas (Projects, Towns etc). Each class should contain an array of methods that'll be used in event handlers and the like.

Towns, for example, will have methods such as:

createTown
removeTown
listTowns
getPrice
playerBuying
playerSelling
increaseStock
decreaseStock
getItemInfo

This will be a lengthy process, but should improve the code readability ten-fold. More, in fact.

@ghost ghost assigned jpwilliams May 31, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant