Source: ksirk/gfxobject.h
|
|
|
|
/***************************************************************************
gfxobject.h - description
-------------------
begin : Wed Jul 18 2001
copyright : (C) 2001 by Gaël de Chalendar
email : Gael.de.Chalendar@libertysurf.fr
***************************************************************************/
/***************************************************************************
* *
* 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 GFXOBJECT
#define GFXOBJECT
#include
class GfxObject : public QCanvasSprite
{ //Base de tous les objets visibles
public:
enum TDir {state, right, left, up, down, N, S, E, O, NO, SO, SE, NE};
GfxObject();
~GfxObject();
protected:
int srcX, srcY, hauteur, largeur;
};
#endif //GFXOBJECT
Generated by: gael on noirdes.limsi.fr on Thu Apr 25 23:36:37 2002, using kdoc 2.0a53. |