Source: easymultisprite.h
|
|
|
|
/***************************************************************************
easymultisprite.h - description
-------------------
begin : Fri Jan 3 2003
copyright : (C) 2003 by Vladimir Grichina
email : vgrichina@mail.ru
***************************************************************************/
/***************************************************************************
* *
* 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 EASYMULTISPRITE_H
#define EASYMULTISPRITE_H
#include "easyimagesprite.h"
/**Sprite class with possiblility of showing
different parts of its surface
*@author Vladimir Grichina
*/
class EasyMultiSprite : public EasyImageSprite {
public:
EasyMultiSprite();
~EasyMultiSprite();
/** Draws the sprite
*/
virtual void draw(SDL_Surface * surface);
public: // Public attributes
/** Width of one frame
*/
int frame_width;
/** Height of one frame
*/
int frame_height;
/** Number of current frame
*/
int frame_number;
};
#endif
Generated by: vg on localhost.localdomain on Fri Jan 17 13:05:24 2003, using kdoc 2.0a53. |