4jcraft/Minecraft.Client/Textures/Stitching/StitchSlot.h
2026-03-06 12:16:41 -06:00

28 lines
483 B
C++

#pragma once
class TextureHolder;
class StitchSlot
{
private:
const int originX;
const int originY;
const int width;
const int height;
std::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(std::vector<StitchSlot *> *result);
//@Override
std::wstring toString();
};