You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
316 B

//
// Created by draia on 03/02/23.
//
#include "Tile.h"
const Position &Tile::pos() const
{
return m_pos;
}
Tile::Tile(Position pos, enum type type)
: m_pos(pos), m_type(type)
{}
const type Tile::getType() const
{
return m_type;
}
bool Tile::traversable()
{
return m_type == 0; // EMPTY
}