Ooh! I just had an idea: what if instead of loading all the boosts and upgrades into each tower class specifically, I just put all of the information into a class called "TowerStats" or annex the...
Type: Posts; User: snowguy13
Ooh! I just had an idea: what if instead of loading all the boosts and upgrades into each tower class specifically, I just put all of the information into a class called "TowerStats" or annex the...
This is the approach I will most likely take. Each of Tower's subclasses will have its special upgrades and stat boosts, so I want to be able to store the information in different classes, for my own...
Yeah, that's exactly the problem I've been grappling with. Trying to avoid that situation, that is.
So you mean do this in the subclasses' constructors? Because if I define default values in the...
Because the methods are intended to load the BASE stats of each type of tower. Each instance of each tower class will have its stats based on the base stats of each tower group. These base stats only...
Hahahahaha, that is very ironic; I was just reading that page! :D
But also, what I'm afraid is that if I refer to the superclass's method, the changes caused by the method will be loaded into the...
I recently ran into a problem of overriding a superclass's static method in a subclass. I wanted to use the superclass's static method in the subclass's static method (which had the same name as the...