Пример #1
0
 public Player(string firstName, string lastName, DateTime dateOfBirth, PlayerPosition position)
 {
     FirstName      = firstName;
     LastName       = lastName;
     DateOfBirth    = dateOfBirth;
     Position       = position;
     PositionString = PlayerPositionHelper.GetPlayerPositionString(position);
 }
Пример #2
0
 public void ChangePlayerPosition(PlayerPosition newPosition)
 {
     Position       = newPosition;
     PositionString = PlayerPositionHelper.GetPlayerPositionString(newPosition);
 }