summaryrefslogtreecommitdiffstats
path: root/knights/challenge_rectangle.h
blob: 02488ff6df48c21e2737b5e65f24ee343ae7b935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/***************************************************************************
                     challenge_rectangle.h  -  description
                             -------------------
    begin                : Mon Jan 7 2002
    copyright            : (C) 2003 by Eric Faccer
    email                : e.faccer@qut.edu.au
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef CHALLENGE_RECTANGLE_H
#define CHALLENGE_RECTANGLE_H

#include <qcanvas.h>
#include "challenge_game.h"

class Challenge_Rectangle : public QCanvasRectangle
{
	public:
		Challenge_Rectangle(int x=0, int y=0, int width=0, int height=0, QCanvas * canvas=0, Challenge_Game * ptr=0);
		~Challenge_Rectangle();
		Challenge_Game* getGame();

	private:
		Challenge_Game * challenge;

};
#endif