/***************************************************************************
                          DirectionDown.cpp  -  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.                                   *
 *                                                                         *
 ***************************************************************************/
# include "Directions/DirectionDown.h"
# include "Square.h"
using namespace Alice;

BasicBoard<Square>
DirectionDown::image;

// the Borland compiler doesn't seem to like
// constructor notation here...
bool
DirectionDown::isInitialized = (false);

DirectionDown::DirectionDown()
  : OrthogonalDirection(-1)
{};

DirectionDown::~DirectionDown()
{};

Square
DirectionDown::appliedTo(const Square& sq) const
{
  return sq.down();
};
bool
DirectionDown::isDown() const
{
  return true;
};
