예제 #1
0
 public void SetProperties(int row, int col, Vector2 pos, ColorsBall color, StatusBall status)
 {
     m_row    = row;
     m_col    = col;
     m_pos    = pos;
     m_color  = color;
     m_status = status;
     if (m_color == ColorsBall.ghost)
     {
         m_type = TypesBall.GHOST;
     }
     else
     {
         m_type = TypesBall.NORMAL;
     }
 }
예제 #2
0
 public bool IsType(TypesBall types)
 {
     return(types == m_type);
 }