0

For example:

package topdowngame;
public class SpeedDir {
    double speed;
    private double direction;
    static final SpeedDir INTERNAL = new SpeedDir(1,45);
// Other stuff

If I write a code like this and excute it when I click:

player.speedDir = SpeedDir.INTERNAL;

It only works the first time I click. I have no idea why.

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by __avd
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.