Ver Fonte

Forgot to commit this

nossr50 há 13 anos atrás
pai
commit
4c6647e332
1 ficheiros alterados com 0 adições e 26 exclusões
  1. 0 26
      src/com/gmail/nossr50/datatypes/HealthBarMMO.java

+ 0 - 26
src/com/gmail/nossr50/datatypes/HealthBarMMO.java

@@ -1,26 +0,0 @@
-package com.gmail.nossr50.datatypes;
-
-import org.bukkit.ChatColor;
-import org.bukkit.entity.LivingEntity;
-import org.getspout.spoutapi.gui.GenericLabel;
-import org.getspout.spoutapi.gui.GenericTexture;
-
-import com.gmail.nossr50.spout.SpoutStuff;
-
-public class HealthBarMMO
-{
-	public GenericTexture health_bar = null;
-	public GenericLabel health_name = null;
-	public String playerName = null;
-	
-	public HealthBarMMO(LivingEntity entity, String name)
-	{
-		health_name = new GenericLabel();
-		health_name.setText(ChatColor.GREEN+name).setDirty(true);
-		
-		health_bar = new GenericTexture();
-		health_bar.setUrl(SpoutStuff.getHealthBarURL(entity.getHealth())).setHeight(8).setWidth(64).setDirty(true);
-		
-		playerName = name;
-	}
-}