Changeset 25 for trunk/UFormMain.pas


Ignore:
Timestamp:
Mar 3, 2014, 12:42:16 AM (11 years ago)
Author:
chronos
Message:
  • Added: Implement basic computer strategy to attack to weaker neighbours.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UFormMain.pas

    r23 r25  
    7373procedure TFormMain.PaintBox1Paint(Sender: TObject);
    7474begin
    75   if Core.Game.Running then
     75  //if Core.Game.Running then
     76  if Assigned(Core.Game.CurrentPlayer) then
    7677  with Core.Game.CurrentPlayer do begin
    7778    View.DestRect := Bounds(0, 0, PaintBox1.Width, PaintBox1.Height);
Note: See TracChangeset for help on using the changeset viewer.