Exemple #1
0
        //   public int Type;
        public override void Render(int X, int Y, GraphicsDevice device, GUI.Renderer Renderer, bool RenderCooldown = false, bool RenderEXP = false)
        {
            Renderer.SetColour(this.Colour);
            Renderer.SetTexture(Renderer.InventoryPartsMap);
            Renderer.RenderIconEx(device, X, Y, 2048 + this.SubType); //body
            //base.Render(device, X, Y, RenderCooldown, RenderEXP);
            Renderer.SetColour(new Color(127, 127, 127, 127));
            // Volatile.Console.Write("a");

            base.Render(X, Y, device, Renderer, RenderCooldown, RenderEXP);
        }
Exemple #2
0
 public void Render(int X, int Y, GraphicsDevice device, GUI.Renderer Renderer, bool RenderCooldown = false, bool RenderEXP = false)
 {
     Renderer.SetTexture(Renderer.AbilityMap);
     Renderer.SetColour(Color.Gray);
     Renderer.RenderIconEx(device, X, Y, this.Icon);
 }