Class TargetScreen

java.lang.Object
com.pixelmonmod.tcg.client.gui.TargetScreen

public class TargetScreen extends Object
Created by Hy on 5/30/2016.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static net.minecraft.resources.ResourceLocation
     
    protected double
     
    protected double
     
    protected double
     
    protected double
     
    protected double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TargetScreen(float z)
     
    TargetScreen(int x, int y, int w, int h, float z)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(net.minecraft.client.gui.GuiGraphics graphics, int mouseX, int mouseY)
     
    double
     
    double
     
    double
     
    double
     
    boolean
    isInside(double mouseX, double mouseY)
     
    void
    setHeight(double h)
     
    void
    setWidth(double w)
     
    void
    setX(double x)
     
    void
    setY(double y)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)