inherrit Warrior class