aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/ClockTexture.h
blob: e042887cdc7fe92823c8b94ed0d7a2fbfebebf7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once
#include "StitchedTexture.h"

class ClockTexture : public StitchedTexture
{
private:
	double rot, rota;
	int m_iPad;
	ClockTexture* m_dataTexture;

public:
	ClockTexture();
	ClockTexture(int iPad, ClockTexture *dataTexture);
	void cycleFrames();
	
	virtual int getSourceWidth() const;
	virtual int getSourceHeight() const;
	virtual int getFrames();
	virtual void freeFrameTextures();		// 4J added
	virtual bool hasOwnData();		// 4J Added
};