public void onGetPacket(String packet)
    {
        String temp = packet.substring(1,2);//Header byte
        if (temp.equals("R"))
        {
            int firstroll = Integer.parseInt(packet.substring(3, packet.indexOf(":", 3)));
            int secondroll = Integer.parseInt(packet.substring(packet.indexOf(":", 3) + 1,
                              packet.indexOf(":", packet.indexOf(":", 3) + 1)));
            parent.receiveRolls(firstroll, secondroll);
        }
        else if (temp.equals("M")) {
            int oldpos = Integer.parseInt(packet.substring(3, packet.indexOf(":", 3)));
            int newpos = Integer.parseInt(packet.substring(packet.indexOf(":", 3) + 1, packet.indexOf(":",
                              packet.indexOf(":", 3) + 1)));
            parent.receiveMove(Board.white, oldpos, newpos); 
            /* ?? do these params need 25-x or happened already? What about BAR_ & BEAR?? */
        } else if (temp.equals("T")) {
            temp = packet.substring(3);
            parent.receiveMessage(temp);
        } else if (temp.equals("E")) {
            parent.turnFinished();
        } else if (temp.equals("B")) {
            int spike = Integer.parseInt(packet.substring(3, packet.indexOf(":", 3)));
            parent.receiveBar(spike);
        } else if (temp.equals("L")) {
            parent.receiveLose();
        } else if (temp.equals("N")) {
            parent.receiveResetReq();
        } else if (temp.equals("Y")) {
            int response = Integer.parseInt(packet.substring(3, packet.indexOf(":",3)));
            parent.receiveResetResp(response);
        } else {
            //Illegal Packet
        }
    } // onGetPacket( )