Make component interfaces inherit Component.
[tagua/yd.git] / src / variants / crazyhouse / behaviour.h
blob0c6870124bd84f0a7639b049051ff6d627f079b4
1 /*
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.
8 */
10 #ifndef CRAZYHOUSE__BEHAVIOUR_H
11 #define CRAZYHOUSE__BEHAVIOUR_H
13 #include <core/delegators/behaviour.h>
15 namespace Crazyhouse {
17 class Behaviour : public Delegators::Behaviour {
18 Q_OBJECT
19 public:
20 Behaviour(const IBehaviour* behaviour);
22 virtual void captureOn(IState* state, const Point& square) const;
25 } // namespace Crazyhouse
27 #endif // CRAZYHOUSE__BEHAVIOUR_H