I have the variable speed to control the speed of my actor. The following code is written in the act method.
the console with the printed lines says 1 every act cycle, but if I am inspecting the object, the speed is 11.
So my two questions are:
1. why is the speed variable not changing?
2. why is another speed printed then inspected?
System.out.println(speed+""); speed+=10;