Exemple #1
0
 void Enchant(EnchantmentButton button)
 {
     ItemHolder.Item.EnterMod(button.Enchantment);
 }
Exemple #2
0
 void Draw(EnchantmentButton button)
 {
     Draw((Button)button);
     SpriteBatch.DrawString(Cousine16, button.Enchantment.ToString(), OffsetVector + button.Position + new Vector2(-38, -10), Color.White);
     SpriteBatch.DrawString(Cousine12, button.Cost.ToString(), OffsetVector + button.Position + new Vector2(-75, -6), Color.White);
 }