aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/range.cpp
blob: b713259e09612d7466f73c61328c18faf783b007 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "range.h"

Range::Range()
{


}
void Range::setValue(qint64 s,qint64 e)
{
    m_start = s;
    m_end=e;
}

bool Range::isValid(Die* m) const
{
    if((m->getValue()>=m_start)&&(m->getValue()<=m_end))
    {
        return true;
    }
    return false;
}