summaryrefslogtreecommitdiff
path: root/include/glsprite.h
blob: 237a922c4f6b87e430704fa3dac181c619cdce5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef __GLSPRITE_H__
#define __GLSPRITE_H__

#include <vector>
#include <Exceptions.h>
#include <Handle.h>
#include <mcolor.h>
#include <texture.h>
#include <sprite.h>

namespace mogltk {
    class glSprite : public Sprite {
      public:
          glSprite(Handle *, int, int);
	  glSprite(Uint8 *, int, int);
	  virtual ~glSprite();
	virtual void draw(int, int, ColorP = WHITE, float = 1.0, float = 1.0);
	void bindcorner(float, float);
	virtual void drawrotate(int, int, double, ColorP = WHITE);
    };
};

#endif