package com.aayaffe.sailingracecoursemanager.communication;

import java.io.Serializable;

/**
 * Created by aayaffe on 30/09/2015.
 */
public enum ObjectTypes {
    WorkerBoat,
    FlagBuoy,
    TomatoBuoy,
    TriangleBuoy,
    StartLine,
    FinishLine,
    StartFinishLine,

    RaceManager,  //from here, the relevant ObjectTypes:
    Buoy,
    Gate,
    Satellite,
    ReferencePoint,
    Other
}

@@ -163,18 +163,54 @@
     
-WorkerBoat
+RaceManager(0),%0A    WorkerBoat(1),%0A    Buoy(2)
 ,%0A  
@@ -215,24 +215,27 @@
     FlagBuoy
+(3)
 ,%0A    Tomato
@@ -234,24 +234,27 @@
   TomatoBuoy
+(4)
 ,%0A    Triang
@@ -255,24 +255,27 @@
 TriangleBuoy
+(5)
 ,%0A    StartL
@@ -273,24 +273,27 @@
    StartLine
+(6)
 ,%0A    Finish
@@ -296,16 +296,19 @@
 nishLine
+(7)
 ,%0A    St
@@ -324,131 +324,208 @@
 Line
+(8)
 ,
-%0A
 %0A    
-RaceManager,  //from here, the relevant ObjectTypes:%0A    Buoy,%0A    Gate,%0A    Satellite,%0A    ReferencePoint,%0A    Other
+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
 %0A%7D%0A

Revert "Revert "Updated object types in Dev""