Made Warrior.cs serializable