aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/StitchSlot.h
blob: e01d7441e38843e8526c08344d4c88a4eee79ea6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once
using namespace std;

class TextureHolder;

class StitchSlot
{
private:
	const int originX;
	const int originY;

	const int width;
	const int height;
	vector<StitchSlot *> *subSlots;
	TextureHolder *textureHolder;

public:
	StitchSlot(int originX, int originY, int width, int height);

	TextureHolder *getHolder();
	int getX();
	int getY();
	bool add(TextureHolder *textureHolder);
	void collectAssignments(vector<StitchSlot *> *result);
};