14 lines
234 B
C++
14 lines
234 B
C++
#include "sand/type.h"
|
|
using namespace sand;
|
|
|
|
const type type::OFF_GRID = 0;
|
|
|
|
bool type::operator==(const type& other) const { return id == other.id; }
|
|
|
|
type::type(id_ty id) :
|
|
id(id)
|
|
{
|
|
}
|
|
|
|
type::operator id_ty() const { return id; }
|