2 Copyright (c) 2008 Yann Dirson <ydirson@altern.org>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
10 #ifndef MINISHOGI__BEHAVIOUR_H
11 #define MINISHOGI__BEHAVIOUR_H
13 #include "../shogi/delegators/behaviour.h"
19 class Behaviour
: public Delegators::ShogiBehaviour
{
21 Behaviour(IBehaviour
* behaviour
)
22 : Delegators::Behaviour(behaviour
)
23 , Delegators::ShogiBehaviour(behaviour
) { }
24 virtual unsigned promotionZoneWidth() const { return 1; }
27 } // namespace MiniShogi
29 #endif // MINISHOGI__BEHAVIOUR_H