4jcraft/Minecraft.Client/Textures/Stitching/StitchSlot.h
2026-03-13 17:10:10 -05:00

26 lines
522 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();
};