Changeset 9b87c8d in galcon-client for src/com/example/helloandroid/Planet.java


Ignore:
Timestamp:
May 24, 2010, 9:46:26 PM (14 years ago)
Author:
dportnoy <devnull@…>
Branches:
master
Children:
8a4e64f
Parents:
76819ac
Message:

Planets get randomly generated and drawn.

File:
1 edited

Legend:

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

    r76819ac r9b87c8d  
    44        int radius;
    55        int regenRate;  // ships per second
    6         int x;
    7         int y;
     6        private int x;
     7        private int y;
    88        int faction;
    99        int numShips;
     
    2727        }
    2828       
     29        public int getRadius() {
     30                return radius;
     31        }
     32       
    2933        public void update() {
    3034                //regen ships if not owned by faction 0
Note: See TracChangeset for help on using the changeset viewer.