forked from metin2/server
Add project files.
This commit is contained in:
26
libpoly/src/Base.cc
Normal file
26
libpoly/src/Base.cc
Normal file
@ -0,0 +1,26 @@
|
||||
#include "Base.h"
|
||||
|
||||
CBase::CBase()
|
||||
{
|
||||
id = 0;
|
||||
}
|
||||
|
||||
CBase::~CBase()
|
||||
{
|
||||
}
|
||||
|
||||
bool CBase::isNumber()
|
||||
{
|
||||
return (id & MID_NUMBER);
|
||||
}
|
||||
|
||||
bool CBase::isVar()
|
||||
{
|
||||
return (id & MID_VARIABLE);
|
||||
}
|
||||
|
||||
bool CBase::isSymbol()
|
||||
{
|
||||
return (id & MID_SYMBOL);
|
||||
}
|
||||
|
Reference in New Issue
Block a user