コード例 #1
0
 /** Draws a sprite from /gui/slot.png. */
 static void drawSprite(GuiStats par0GuiStats, int par1, int par2, int par3, int par4) {
   par0GuiStats.drawSprite(par1, par2, par3, par4);
 }
コード例 #2
0
 /** Draws a gray box that serves as a button background. */
 private void drawButtonBackground(int par1, int par2) {
   drawSprite(par1, par2, 0, 0);
 }