refresh e50354d3ef3d92779d3796094388f4161b20460c
[tagua/yd.git] / src / variants / minishogi / behaviour.h
blob790513beae640e1c3b7609676e3158745f7140b4
1 /*
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.
8 */
10 #ifndef MINISHOGI__BEHAVIOUR_H
11 #define MINISHOGI__BEHAVIOUR_H
13 #include "../shogi/delegators/behaviour.h"
15 class Move;
17 namespace MiniShogi {
19 class Behaviour : public Delegators::ShogiBehaviour {
20 public:
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