// -*-c++-*-
/***************************************************************************
                          KnightDirection.h  -  description
                             -------------------
    begin                : Tue May 22 2001
    copyright            : (C) 2001 by Sven Reichard
    email                : reichard@math.udel.edu
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
# ifndef KnightDirection_h
# define KnightDirection_h
# include "Directions/Direction.h"
namespace Alice
{
class KnightDirection:
  public Direction
{
public:
  virtual ~KnightDirection();
  virtual bool isKnightDirection() const;
  virtual Square blockedSquareFrom(const Square& sq, 
				   const Board& board) const;
protected:
  KnightDirection(signed char diff);
};
}; // namespace Alic
# endif // KnightDirection_h
