public override void ReplacePawn(Square LocationOfPawn, int PreviousMovesMade) { Bishop AddedPiece = LocationOfPawn.GetComponentInChildren <Canvas>().gameObject.AddComponent <Bishop>(); AddedPiece.Initialize(false, PreviousMovesMade); }
public override void ReplacePawn(Square LocationOfPawn, int PreviousMovesMade) { Bishop AddedPiece = LocationOfPawn.GetComponentInChildren <Canvas>().gameObject.AddComponent <Bishop>(); AddedPiece.Initialize(false, PreviousMovesMade); }