46 lines
769 B
Java
46 lines
769 B
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*/
|
|
package com.mojang.blaze3d.systems;
|
|
|
|
public class ScissorState {
|
|
private boolean enabled;
|
|
private int x;
|
|
private int y;
|
|
private int width;
|
|
private int height;
|
|
|
|
public void enable(int x, int y, int width, int height) {
|
|
this.enabled = true;
|
|
this.x = x;
|
|
this.y = y;
|
|
this.width = width;
|
|
this.height = height;
|
|
}
|
|
|
|
public void disable() {
|
|
this.enabled = false;
|
|
}
|
|
|
|
public boolean enabled() {
|
|
return this.enabled;
|
|
}
|
|
|
|
public int x() {
|
|
return this.x;
|
|
}
|
|
|
|
public int y() {
|
|
return this.y;
|
|
}
|
|
|
|
public int width() {
|
|
return this.width;
|
|
}
|
|
|
|
public int height() {
|
|
return this.height;
|
|
}
|
|
}
|
|
|