2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
3 (c) 2007 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
11 #ifndef HLVARIANT__CUSTOMBOARD_H
12 #define HLVARIANT__CUSTOMBOARD_H
18 template <int size_x
, int size_y
, typename _Piece
>
19 class CustomBoard
: public Board
<_Piece
> {
20 typedef Board
<_Piece
> Base
;
26 CustomBoard(const CustomBoard
<size_x
, size_y
, Piece
>& other
);
31 template <int size_x
, int size_y
, typename Piece
>
32 CustomBoard
<size_x
, size_y
, Piece
>::CustomBoard()
33 : Base(Point(size_x
, size_y
)) { }
35 template <int size_x
, int size_y
, typename Piece
>
36 CustomBoard
<size_x
, size_y
, Piece
>::CustomBoard(const CustomBoard
<size_x
, size_y
, Piece
>& other
)
42 #endif // HLVARIANT__BOARD_H