Why doesn't this work? It works with 1.5 but not 0.5. Why?
1 2 3 4 5 6 7 8 9 10 11 12 | public class Ani extends Actor { private double go = 0.5 ; /** * Act - do whatever the ani wants to do. This method is called whenever * the 'Act' or 'Run' button gets pressed in the environment. */ public void act() { move(( int )go); } } |