- Joined
- May 18, 2009
- Messages
- 33
0.01 is not needed here, but how 0.03 works faster?Don't every 0.01 second. Change it to 0.03 or 0.04 it works faster.
If you replace Integer A with an Integer variable you have to replace everything referencing to Integer A as well.
Changing IntegerA for your own variable does not prevent leaks, but it's more efficient and generally better for various reasons.
Leaks are where you modify hero's strength. The (position of *something*) leaks. Look at post #5 - purge already wrote how to solve the problem.