Java Code Examples for net.runelite.client.game.ItemManager#getImage()
The following examples show how to use
net.runelite.client.game.ItemManager#getImage() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PortalWeaknessOverlay.java From plugins with GNU General Public License v3.0 | 6 votes |
@Inject PortalWeaknessOverlay( final PestControlPlugin plugin, final Client client, final ItemManager itemManager, final SkillIconManager skillIconManager ) { this.plugin = plugin; this.client = client; this.magicImage = skillIconManager.getSkillImage(Skill.MAGIC); this.rangedImage = skillIconManager.getSkillImage(Skill.RANGED); this.stabImage = itemManager.getImage(ItemID.WHITE_DAGGER); this.slashImage = itemManager.getImage(ItemID.WHITE_SCIMITAR); this.crushImage = itemManager.getImage(ItemID.WHITE_WARHAMMER); setPosition(OverlayPosition.DYNAMIC); setLayer(OverlayLayer.UNDER_WIDGETS); }
Example 2
Source File: ShayzienInfirmaryOverlay.java From plugins with GNU General Public License v3.0 | 5 votes |
@Inject public ShayzienInfirmaryOverlay(final ShayzienInfirmaryPlugin plugin, final ItemManager itemManager) { setPosition(OverlayPosition.DYNAMIC); this.plugin = plugin; medPackImage = itemManager.getImage(ItemID.SHAYZIEN_MEDPACK); }
Example 3
Source File: BlastMineRockOverlay.java From plugins with GNU General Public License v3.0 | 5 votes |
@Inject private BlastMineRockOverlay(final Client client, final BlastMinePlugin plugin, final BlastMinePluginConfig config, final ItemManager itemManager) { setPosition(OverlayPosition.DYNAMIC); setLayer(OverlayLayer.ABOVE_SCENE); this.client = client; this.plugin = plugin; this.config = config; chiselIcon = itemManager.getImage(ItemID.CHISEL); dynamiteIcon = itemManager.getImage(ItemID.DYNAMITE); tinderboxIcon = itemManager.getImage(ItemID.TINDERBOX); }
Example 4
Source File: BlastMineRockOverlay.java From runelite with BSD 2-Clause "Simplified" License | 5 votes |
@Inject private BlastMineRockOverlay(Client client, BlastMinePlugin plugin, BlastMinePluginConfig config, ItemManager itemManager) { setPosition(OverlayPosition.DYNAMIC); setLayer(OverlayLayer.ABOVE_SCENE); this.client = client; this.plugin = plugin; this.config = config; chiselIcon = itemManager.getImage(ItemID.CHISEL); dynamiteIcon = itemManager.getImage(ItemID.DYNAMITE); tinderboxIcon = itemManager.getImage(ItemID.TINDERBOX); }
Example 5
Source File: ForemanTimer.java From plugins with GNU General Public License v3.0 | 4 votes |
ForemanTimer(BlastFurnacePlugin plugin, ItemManager itemManager) { super(10, ChronoUnit.MINUTES, itemManager.getImage(ItemID.COAL_BAG), plugin); setTooltip(TOOLTIP_TEXT); }
Example 6
Source File: ForemanTimer.java From runelite with BSD 2-Clause "Simplified" License | 4 votes |
ForemanTimer(BlastFurnacePlugin plugin, ItemManager itemManager) { super(10, ChronoUnit.MINUTES, itemManager.getImage(ItemID.COAL_BAG), plugin); setTooltip(TOOLTIP_TEXT); }