Changed my email in the copyright statements.
[tagua/yd.git] / src / hlvariant / dummy / variant.cpp
blob0327219275c9fe5b5be07fd342a8af749864370b
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 #include "variant.h"
12 #include "../tagua_wrapped.h"
14 namespace HLVariant {
15 namespace Dummy {
17 const char* Variant::m_name = "Dummy";
18 const char* Variant::m_theme_proxy = "Chess";
20 void Variant::setupMove(NormalUserMove& m) const {
21 m.promotionType = m_actions.promotion();
24 ActionCollection* Variant::actions() {
25 return &m_actions;
28 } // namespace Dummy
29 } // namespace HLVariant