push d05c3c071486b33b66ab6e343e6cce821d847653
[tagua/yd.git] / src / variants / crazyhouse / behaviour.h
blob42c066ba0800f7ee7cfbebf8bca09155a674cad8
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 public:
19 Behaviour(const IBehaviour* behaviour);
21 virtual void captureOn(IState* state, const Point& square) const;
24 } // namespace Crazyhouse
26 #endif // CRAZYHOUSE__BEHAVIOUR_H