aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/StitchSlot.h
blob: 0990a06ef5d9b29ab3a2371fbf9610f9881324f1 (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
26
27
28
#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);

	//@Override
	wstring toString();
};