Preliminary port of Shogi to the component API.
[tagua/yd.git] / src / variants / shogi / types / narigin.h
blob24c93db9e6ebe1ff134e607c1896598b478c5949
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 SHOGI__TYPES__NARIGIN_H
12 #define SHOGI__TYPES__NARIGIN_H
14 #include <core/component.h>
15 #include "../type.h"
17 namespace Shogi {
19 class TAGUA_EXPORT Narigin : public Component, public Type {
20 Q_OBJECT
21 Narigin();
22 public:
23 virtual QString name() const;
24 virtual const std::vector<MoveDefinition> * const movesDefinitions() const;
25 virtual int index() const;
26 static Narigin* self();
27 private:
28 std::vector<MoveDefinition> m_moveDefinitions;
33 #endif // SHOGI__TYPES__NARIGIN_H