Changes in src/com/example/helloandroid/Fleet.java [69f6f01:04a9a00] in galcon-client
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/com/example/helloandroid/Fleet.java
r69f6f01 r04a9a00 22 22 private boolean isClockwise; 23 23 24 /* Optimi zing: pre-calculate paths */24 /* Optimising: pre-calculate paths */ 25 25 public Fleet(Planet source, Planet destination, int numShips, int faction) { 26 26 source.setNumShips(source.getNumShips()-numShips); … … 248 248 } 249 249 } else { 250 angle = speed/(double)nearPlanet.radius *.1;250 angle = speed/(double)nearPlanet.radius; 251 251 252 252 if(isClockwise){
Note:
See TracChangeset
for help on using the changeset viewer.