src/graphic/sprite.h File Reference

#include <SDL.h>
#include <vector>
#include "spriteframe.h"
#include "spritecache.h"
#include "spriteanimation.h"
#include "include/base.h"

Include dependency graph for sprite.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Sprite

Enumerations

enum  Rotation_HotSpot {
  top_left, top_center, top_right, left_center,
  center, right_center, bottom_left, bottom_center,
  bottom_right, user_defined
}


Enumeration Type Documentation

enum Rotation_HotSpot

Enumerator:
top_left 
top_center 
top_right 
left_center 
center 
right_center 
bottom_left 
bottom_center 
bottom_right 
user_defined 

Definition at line 35 of file sprite.h.

00035              {
00036   top_left,
00037   top_center,
00038   top_right,
00039   left_center,
00040   center,
00041   right_center,
00042   bottom_left,
00043   bottom_center,
00044   bottom_right,
00045   user_defined // Sprite::rot_hotspot is set to this value, when the hotspot is set as a Point2i
00046 } Rotation_HotSpot;


Generated on Mon Jan 1 13:13:35 2007 for Wormux by  doxygen 1.4.7