You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
knights/knights/challenge_rectangle.h

37 lines
1.4 KiB

/***************************************************************************
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 <tqcanvas.h>
#include "challenge_game.h"
class Challenge_Rectangle : public TQCanvasRectangle
{
public:
Challenge_Rectangle(int x=0, int y=0, int width=0, int height=0, TQCanvas * canvas=0, Challenge_Game * ptr=0);
~Challenge_Rectangle();
Challenge_Game* getGame();
private:
Challenge_Game * challenge;
};
#endif