summaryrefslogtreecommitdiff
path: root/DesignPatterns/src/app/DesignPatterns.Strategy/Queen.cs
blob: 081a7dfab66af3413f2363f3d68d781cf40cf5af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Created by: 
 * Created: Monday, July 02, 2007
 */

namespace DesignPatterns.Strategy {
	public class Queen : Character {
		public Queen( ) : this( new BowAndArrow( ) ) {}

		public Queen( IWeapon weapon ) : base( weapon ) {}

		public override void Fight( ) {
			Weapon.UseWeapon( );
		}
	}
}