Changeset 74 for trunk/UGame.pas


Ignore:
Timestamp:
Oct 4, 2014, 9:19:27 PM (10 years ago)
Author:
chronos
Message:
  • Added: Show player color in player list.
  • Added: Confirmation dialog for game restart action.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UGame.pas

    r72 r74  
    329329resourcestring
    330330  SMinimumPlayers = 'You need at least two players';
     331  SPlayer = 'Player';
    331332  SHuman = 'Human';
    332333  SComputer = 'Computer';
     
    19131914
    19141915  Player := TPlayer.Create;
    1915   Player.Name := 'Player 1';
     1916  Player.Name := SPlayer + ' 1';
    19161917  Player.Game := Self;
    19171918  Player.Color := clBlue;
    19181919  Players.Add(Player);
    19191920  Player := TPlayer.Create;
    1920   Player.Name := 'Player 2';
     1921  Player.Name := SPlayer + ' 2';
    19211922  Player.Game := Self;
    19221923  Player.Color := clRed;
Note: See TracChangeset for help on using the changeset viewer.