package com.example.helloandroid; public class Fleet { int x; int y; double direction; Planet destination; int numShips; int faction; public Fleet(Planet source, Planet destination, int numShips, int faction) { x = source.getX(); y = source.getY(); this.numShips = numShips; this.faction = faction; this.destination = destination; } public void update() { } // attack the destination planet public void attack() { } }