示例#1
0
 public void DrawArmorLayer(PlayerDrawInfo info)//custom drawing the hat (todo)
 {
     if (info.drawPlayer.GetModPlayer <StarlightPlayer>().empowered)
     {
         ArmorHelper.QuickDrawHeadFramed(info, AssetDirectory.StarwoodItem + "StarwoodHat_Head_Alt", 1, new Vector2(10, 18));
     }
 }
 public void DrawArmorLayer(PlayerDrawInfo info)
 {
     if (info.drawPlayer.GetModPlayer <StarlightPlayer>().empowered)
     {
         ArmorHelper.QuickDrawHeadFramed(info, AssetDirectory.VanityItem + "AncientStarwoodHat_Worn_Alt", 1, new Vector2(10, 4));
     }
     else
     {
         ArmorHelper.QuickDrawHeadFramed(info, AssetDirectory.VanityItem + "AncientStarwoodHat_Worn", 1, new Vector2(10, 4));
     }
 }