Ejemplo n.º 1
0
        public Chip(ePlayerNum i_PlayerNum)
        {
            m_PlayerNum = i_PlayerNum;

            if (i_PlayerNum == ePlayerNum.Player1)
            {
                m_Representation = eRepresentation.Player1;
            }
            else if (i_PlayerNum == ePlayerNum.Player2)
            {
                m_Representation = eRepresentation.Player2;
            }
            else if (i_PlayerNum == ePlayerNum.Computer)
            {
                m_Representation = eRepresentation.Computer;
            }
            else
            {
                m_Representation = eRepresentation.Empty;
            }
        }
Ejemplo n.º 2
0
 public Chip()
 {
     m_PlayerNum      = ePlayerNum.Empty;
     m_Representation = eRepresentation.Empty;
 }
Ejemplo n.º 3
0
 public Chip(ePlayerNum i_PlayerNum, eRepresentation i_Representation)
 {
     m_PlayerNum      = i_PlayerNum;
     m_Representation = i_Representation;
 }