Package com.pixelmonmod.tcg.client.gui
Class TargetScreen
java.lang.Object
com.pixelmonmod.tcg.client.gui.TargetScreen
Created by Hy on 5/30/2016.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY) double
double
getWidth()
double
getX()
double
getY()
boolean
isInside
(double mouseX, double mouseY) void
setHeight
(double h) void
setWidth
(double w) void
setX
(double x) void
setY
(double y)
-
Field Details
-
x
protected double x -
y
protected double y -
w
protected double w -
h
protected double h -
z
protected double z -
emptyTexture
protected static net.minecraft.resources.ResourceLocation emptyTexture
-
-
Constructor Details
-
TargetScreen
public TargetScreen(float z) -
TargetScreen
public TargetScreen(int x, int y, int w, int h, float z)
-
-
Method Details
-
draw
public void draw(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY) -
isInside
public boolean isInside(double mouseX, double mouseY) -
getX
public double getX() -
setX
public void setX(double x) -
getY
public double getY() -
setY
public void setY(double y) -
getWidth
public double getWidth() -
setWidth
public void setWidth(double w) -
getHeight
public double getHeight() -
setHeight
public void setHeight(double h)
-