Tentative Randomless-Entropy variant.
[tagua/yd.git] / src / variants / randomless-entropy / stone.h
blob5eec319fa41a563ac4b3e0bd25e24cff1cfbcf9b
1 /*
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.
9 */
11 #ifndef RANDOMLESSENTROPY__STONE_H
12 #define RANDOMLESSENTROPY__STONE_H
14 #include <core/component.h>
15 #include <core/defaulttype.h>
17 namespace RandomlessEntropy {
19 class TAGUA_EXPORT Stone : public Component, public DefaultType {
20 Q_OBJECT
21 Stone();
22 public:
23 virtual QString name() const;
24 virtual const std::vector<MoveDefinition> * const movesDefinitions() const;
25 virtual int index() const;
26 static Stone* color(unsigned color);
27 private:
28 std::vector<MoveDefinition> m_moveDefinitions;
29 unsigned m_color;
34 #endif // RANDOMLESSENTROPY__STONE_H