package com.aayaffe.sailingracecoursemanager.communication;

import java.io.Serializable;

/**
 * Created by aayaffe on 30/09/2015.
 */
public enum ObjectTypes {
    RaceManager(0),
    WorkerBoat(1),
    Buoy(2),
    FlagBuoy(3),
    TomatoBuoy(4),
    TriangleBuoy(5),
    StartLine(6),
    FinishLine(7),
    StartFinishLine(8),
    Gate(9),
    ReferencePoint(10),
    Other(11);

    private int value;

    ObjectTypes(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }
}

@@ -163,54 +163,18 @@
     
-RaceManager(0),%0A    WorkerBoat(1),%0A    Buoy(2)
+WorkerBoat
 ,%0A  
@@ -187,11 +187,8 @@
 Buoy
-(3)
 ,%0A  
@@ -203,11 +203,8 @@
 Buoy
-(4)
 ,%0A  
@@ -221,11 +221,8 @@
 Buoy
-(5)
 ,%0A  
@@ -236,11 +236,8 @@
 Line
-(6)
 ,%0A  
@@ -252,11 +252,8 @@
 Line
-(7)
 ,%0A  
@@ -273,208 +273,131 @@
 Line
-(8)
 ,
+%0A
 %0A    
-Gate(9),%0A    ReferencePoint(10),%0A    Other(11);%0A%0A    private int value;%0A%0A    ObjectTypes(int value) %7B%0A        this.value = value;%0A    %7D%0A%0A    public int getValue() %7B%0A        return value;%0A    %7D
+RaceManager,  //from here, the relevant ObjectTypes:%0A    Buoy,%0A    Gate,%0A    Satellite,%0A    ReferencePoint,%0A    Other
 %0A%7D%0A

Revert "Updated object types in Dev"