Changeset 69f6f01 in galcon-client for src/com/example/helloandroid/Fleet.java


Ignore:
Timestamp:
Jun 10, 2010, 3:23:14 AM (15 years ago)
Author:
dportnoy <devnull@…>
Branches:
master
Children:
38ac100
Parents:
647a312
Message:

Added a display of the fleet size, a percentage of the population of the fleet's source planet. Prevented dispatching fleets with the same source and destination planets. The rate at which ships spawn on a planet is now based on the planet radius.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/com/example/helloandroid/Fleet.java

    r647a312 r69f6f01  
    2222        private boolean isClockwise;
    2323
    24         /* Optimising: pre-calculate paths */
     24        /* Optimizing: pre-calculate paths */
    2525        public Fleet(Planet source, Planet destination, int numShips, int faction) {
    2626                source.setNumShips(source.getNumShips()-numShips);
Note: See TracChangeset for help on using the changeset viewer.