How would I make an if statement where getX() is equal to a certain number?
This is what I thought would work but I think I am missing something but I'm not sure what... This is in an actor class btw.
1 2 3 4 5 6 7 | public void getXA() { if ( getX() == 4897 ) { //code omitted } } |