﻿namespace design_pattern
{
	class SwordBuilder : EquipBuilder
	{
		private Sword sword;
		
		public SwordBuilder()
		{
			sword = new Sword();
		}
		
		public void SetName( string name )
		{
			sword.Name = name;
		}
		
		public void SetParam()
		{
			sword.Atk = 6;
		}
		
		public void SetKind()
		{
			sword.Kind = EquipKind.WEAPON;
		}
		
		public object GetEquip()
		{
			return sword;
		}
	}
}
