public boolean move(Direction d){
    if(d == Direction.ABOVE || d == Direction.BELOW){
      if(d==Direction.ABOVE && map.get(pos.x,pos.y).tileType.ID == GameMap.STAIRSUP){
        entityManager.goUp();
      }
      else if(d==Direction.BELOW && map.get(pos.x,pos.y).tileType.ID == GameMap.STAIRSDOWN){
        entityManager.goDown();
      }
    }
    if(checkMove(d)){
      map.setEntity(pos, null);
      pos = pos.add(d.offset);
      map.setEntity(pos, owner);
      return true;
    }
    return false;
  }