2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
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 CRAZYHOUSE__STATE_H
11 #define CRAZYHOUSE__STATE_H
13 #include <core/delegators/state.h>
14 #include <core/piece.h>
16 class IPoolCollection
;
19 * @brief Namespace holding Crazyhouse components.
21 namespace Crazyhouse
{
23 class State
: public Delegators::State
{
25 IPoolCollection
* m_pools
;
30 virtual IState
* clone() const;
31 virtual void assign(const IState
* other
);
32 virtual void move(const Move
& m
);
34 virtual const IPoolCollection
* pools() const;
35 virtual IPoolCollection
* pools();
38 } // namespace Crazyhouse
40 #endif // CRAZYHOUSE__STATE_H