We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think ship weapons can be data only, as all weapons function the same the only difference is they have different stats.
there might be a few functions for shooting different types of weapons but they practically work the same with the difference being stats.
that way ship can have an ArrayList of weapon names, and when you need a weapons data you call its row from the database by name.
maybe I shod make a weapon modal class (like item) so I can call stats like w.range or w.dmg etc etc.
w.range
w.dmg
ship upgrades that modify say range will just add to the range variable as modifier no need to change weapons data.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I think ship weapons can be data only, as all weapons function the same the only difference is they have different stats.
there might be a few functions for shooting different types of weapons but they practically work the same with the difference being stats.
that way ship can have an ArrayList of weapon names, and when you need a weapons data you call its row from the database by name.
maybe I shod make a weapon modal class (like item) so I can call stats like
w.range
orw.dmg
etc etc.ship upgrades that modify say range will just add to the range variable as modifier no need to change weapons data.
The text was updated successfully, but these errors were encountered: