When you see variable names like m1, m2, m3, . . . , mX the analytic half of your brain should smack the creative half. Using one- or two-letter variable names is bad programming practice, but...
Type: Posts; User: GregBrannon
When you see variable names like m1, m2, m3, . . . , mX the analytic half of your brain should smack the creative half. Using one- or two-letter variable names is bad programming practice, but...
Nonsense! It's a difficult problem to solve with parallel arrays - near enough to impossible - so you should change the design to eliminate use of parallel arrays. Each Bot instance should record...
Why isn't this method (and the rest like it):
public int getfm4 () {
fragsfm4 = fm4;
return fragsfm4;
}
Simply:
public int getfm4 () {
return fm4;