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 CORE__DEFAULTPOOLCOLLECTION_H
11 #define CORE__DEFAULTPOOLCOLLECTION_H
15 #include "component.h"
16 #include "poolcollection.h"
18 class DefaultPoolCollection
: public Component
, public IPoolCollection
{
19 typedef QMap
<const IColor
*, IPool
*> PoolMap
;
22 DefaultPoolCollection();
23 virtual ~DefaultPoolCollection();
25 virtual IPoolCollection
* clone() const;
26 virtual bool equals(const IPoolCollection
* other
) const;
27 virtual IPool
* pool(const IColor
* player
);
30 #endif // CORE__DEFAULTPOOLCOLLECTION_H