Class OpponentElement
java.lang.Object
com.pixelmonmod.pixelmon.client.gui.widgets.PixelmonWidget
com.pixelmonmod.pixelmon.client.gui.battles.pokemonOverlays.OpponentElement
- Direct Known Subclasses:
RaidElement
Created by Jay113355 on 11/15/2020.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionOpponentElement
(PixelmonClientData enemy, net.minecraft.client.gui.screens.Screen parent, ScreenParticleEngine particleEngine) -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawElement
(net.minecraft.client.gui.GuiGraphics graphics, float scale) void
drawSelected
(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, int width, int height, float scale) getEnemy()
Methods inherited from class com.pixelmonmod.pixelmon.client.gui.widgets.PixelmonWidget
drawElementScaled, getHeight, getWidth, getX, getY, isMouseOver, setPosition
-
Constructor Details
-
OpponentElement
public OpponentElement(PixelmonClientData enemy, net.minecraft.client.gui.screens.Screen parent, ScreenParticleEngine particleEngine)
-
-
Method Details
-
getEnemy
-
drawSelected
public void drawSelected(net.minecraft.client.gui.GuiGraphics graphics, int x, int y, int width, int height, float scale) -
drawElement
public void drawElement(net.minecraft.client.gui.GuiGraphics graphics, float scale) - Specified by:
drawElement
in classPixelmonWidget
-