public abstract class MinecraftGUI.GUIInterface extends GLInterface
GLInterface
to be used with MinecraftGUI
clipX
Constructor and Description |
---|
GUIInterface(boolean clipX) |
Modifier and Type | Method and Description |
---|---|
boolean |
getButton(int button)
Method to query the current mouse button state.
|
java.awt.Point |
getMouse()
Method to query the current mouse position.
|
protected float |
getZLevel()
Get the z-coordinate to render everything.
|
begin, drawImage, drawLine, drawRect, end, fillRect, fillTriangle, getMatrices, getResourcePrefix, loadImage, restore, scissor, window
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
drawString, getFontHeight, getFontWidth
public boolean getButton(int button)
Interface
button
- the ID of the mouse buttonInterface.LBUTTON
,
Interface.RBUTTON
public java.awt.Point getMouse()
Interface
protected float getZLevel()
GLInterface
getZLevel
in class GLInterface