/***************************************************************************
                          MyQwSpriteFieldView.h  -  description
                             -------------------
    begin                : Tue Apr 4 2000
    copyright            : (C) 2000 by Frank von Daak
    email                : frank.fun@kpage.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/
/***************************************************************************
                          MyQwSpriteFieldView.h  -  description
                             -------------------
    begin                : Fri Mar 31 2000
    copyright            : (C) 2000 by Frank von Daak
    email                : frank.fun@kpage.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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 MYQWSPRITEFIELDVIEW_H
#define MYQWSPRITEFIELDVIEW_H

#include <qwidget.h>
#include <QwSpriteField.h>

/**
  *@author Frank von Daak
  */

class MyQwSpriteFieldView : public QwSpriteFieldView  {
   Q_OBJECT
public: 
	MyQwSpriteFieldView(QwSpriteField * viewing=0, QWidget * parent=0, const char * name=0, WFlags f=0);
	~MyQwSpriteFieldView();
	
	bool paused;

private:
	void mousePressEvent( QMouseEvent *);
	int i;
	
signals:
	void fire(int x, int y);
	void load();
};

#endif
