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; } }
public bool IsType(TypesBall types) { return(types == m_type); }