package com.example.helloandroid; public class Planet { int radius; int regenRate; // ships per second int x; int y; int faction; int numShips; public Planet(int radius, int x, int y) { this.radius = radius; this.x = x; this.y = y; faction = 0; numShips = 0; regenRate = 0; //change this to some expression / funcion call } public int getX() { return x; } public int getY() { return y; } public void update() { //regen ships if not owned by faction 0 } public void sendFleet(Planet p, int numShips) { } }