Index: src/com/example/helloandroid/Fleet.java
===================================================================
--- src/com/example/helloandroid/Fleet.java	(revision 159eef877c52a6cf94e67ccc21c49e0b2bac046a)
+++ src/com/example/helloandroid/Fleet.java	(revision 96857ee1b3d0cbc876fc9952862cd862c7d1de27)
@@ -1,16 +1,37 @@
 package com.example.helloandroid;
 
+import java.math.*;
+
 public class Fleet {
-	int x;
-	int y;
-	double direction;
-	Planet destination;
-	int numShips;
-	int faction;
+	private int x;
+	private int y;
+	private double slope, xIntercept; 
+	private double direction;
+	private Planet destination;
+	private int numShips;
+	private int faction;
 	
+	/* Optimising: pre-calculate paths */
 	public Fleet(Planet source, Planet destination, int numShips, int faction) {
-		x = source.getX();
-		y = source.getY();
+		//Calculate initial coordinates and direction 
 		
+		//line formula 
+		slope = ((source.y - destination.y)/(source.x - destination.x));
+		xIntercept = destination.y - (slope*destination.x);
+		
+		//direction
+		direction = 1/Math.tan(slope);
+		
+		//coordinates for all 4 coordinates
+		if ((direction >= 0) && (direction < Math.PI/2)){
+			x = (int)(Math.cos(direction)*(source.radius + 10) + source.x );
+			y = (int)(Math.sin(direction)*(source.radius + 10) + source.y );
+		} else if((direction >= Math.PI/2) && (direction < Math.PI)){
+			
+		} else if((direction >= Math.PI) && (direction < 3*Math.PI/2)){
+		
+		} else {
+		
+		}
 		this.numShips = numShips;
 		this.faction = faction;
@@ -18,11 +39,85 @@
 	}
 	
+		
+	public int getX() {
+		return x;
+	}
+
+
+
+	public void setX(int x) {
+		this.x = x;
+	}
+
+
+
+	public int getY() {
+		return y;
+	}
+
+
+
+	public void setY(int y) {
+		this.y = y;
+	}
+
+
+
+	public double getDirection() {
+		return direction;
+	}
+
+
+
+	public void setDirection(double direction) {
+		this.direction = direction;
+	}
+
+
+
+	public Planet getDestination() {
+		return destination;
+	}
+
+
+
+	public void setDestination(Planet destination) {
+		this.destination = destination;
+	}
+
+
+
+	public int getNumShips() {
+		return numShips;
+	}
+
+
+
+	public void setNumShips(int numShips) {
+		this.numShips = numShips;
+	}
+
+
+
+	public int getFaction() {
+		return faction;
+	}
+
+
+
+	public void setFaction(int faction) {
+		this.faction = faction;
+	}
+
+
+
 	public void update() {
-		
+		//update coordinates
+	
 	}
 	
 	// attack the destination planet
 	public void attack() {
-		
+		//planet attack
 	}
 }
